- Sashité for Developers
- Documentation
- CELL
- 1.0.0
- Examples
- 2D Shōgi
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: Latin lowercase letters (
a
throughi
) - Dimension 2: Arabic numerals (
1
through9
)
Each position is uniquely identified by combining both dimensions (e.g., e1
, e9
), demonstrating how CELL’s systematic approach works for 2D board games.
Note that this differs from traditional shōgi notation, which uses number-then-letter format (e.g., 5e
), while CELL uses letter-then-number format.