2D Shōgi Board - Size 9x9
CELL Coordinates:
- Dimension 1:
a,b,c,d,e,f,g,h,i - Dimension 2:
1,2,3,4,5,6,7,8,9
┌───┬───┬───┬───┬───┬───┬───┬───┬───┐
9 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
8 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
7 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
6 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
5 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
4 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
3 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
2 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
1 │ │ │ │ │ │ │ │ │ │
└───┴───┴───┴───┴───┴───┴───┴───┴───┘
a b c d e f g h i
Empty squares represented by spaces.
Initial Position
Initial position with two kings facing each other:
┌───┬───┬───┬───┬───┬───┬───┬───┬───┐
9 │ │ │ │ │ k │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
8 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
7 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
6 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
5 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
4 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
3 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
2 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
1 │ │ │ │ │ K │ │ │ │ │
└───┴───┴───┴───┴───┴───┴───┴───┴───┘
a b c d e f g h i
Legend
- K = Sente King
- k = Gote King
Locations
- Sente King:
e1 - Gote King:
e9
Next Position
Position after Sente move:
┌───┬───┬───┬───┬───┬───┬───┬───┬───┐
9 │ │ │ │ │ k │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
8 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
7 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
6 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
5 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
4 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
3 │ │ │ │ │ │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
2 │ │ │ │ │ K │ │ │ │ │
├───┼───┼───┼───┼───┼───┼───┼───┼───┤
1 │ │ │ │ │ │ │ │ │ │
└───┴───┴───┴───┴───┴───┴───┴───┴───┘
a b c d e f g h i
Locations
- Sente King:
e2 - Gote King:
e9
CELL Integration
This example demonstrates CELL’s 2D coordinate system using:
- Dimension 1: ASCII Latin lowercase letters (
athroughi) - Dimension 2: strictly positive decimal integers (
1through9)
Each Square is identified by concatenating the two dimensions (e.g., e1, e9).
Traditional shōgi coordinate encodings may use non-ASCII scripts (e.g., 5五). Such strings are not valid CELL coordinates and MUST be mapped to valid CELL coordinates before validation.
