# Star Gambit Notation (SGN) SGN is the text format for Star Gambit actions and game records. A whole game is just a whitespace-separated sequence of action tokens (split on spaces, tabs, or newlines), replayed in order through the engine to reconstruct the position. ## The five tokens Every token is one of these forms. Each numeric field is a **0-based index**, not a coordinate. | Form | Meaning | Fields | | --- | --- | --- | | `@` | Deploy a reserve ship | `kind` = ship kind index (config order); `placement` = which legal placement slot | | `+` | Move a unit | `unit` = unit id; `move` = index into that ship kind's move table | | `*` | Fire a gun | `unit` = unit id; `attack` = index into that ship kind's ray-attack table | | `END: