- Sashité for Developers
- Specifications
- SNN
- 1.0.0
- Examples
SNN Examples
Essential implementation guide for Style Name Notation v1.0.0.
Each SNN name identifies a Style — a movement tradition — in human-readable form. Because a Style is a tradition rather than a specific game, a single name applies across every Variant of that tradition.
Styles
The canonical Sashité Styles and their human-readable names:
| SNN | Description |
|---|---|
Western |
Western style (e.g. the Chess Variant) |
Chinese |
Chinese style (e.g. Xiangqi, Xiongqi) |
Japanese |
Japanese style (e.g. Shōgi, Ōgi) |
Siamese |
Siamese style (e.g. Makruk) |
Format notes
The four Styles above are simple, single-word PascalCase names. SNN’s grammar is deliberately broader — it also allows internal uppercase (compound PascalCase) and a trailing numeric suffix — which leaves room for additional or third-party Style names. SNN reserves no names of its own (see §5.2 of the specification); it constrains only the shape of a token. Whatever its shape, an SNN token always names a Style (a movement tradition) — never a Variant or a specific game.
Validation Examples
| Input | Valid | Reason |
|---|---|---|
Western |
✓ | Uppercase initial, letters only |
AbCdEf |
✓ | Internal uppercase (compound PascalCase) allowed |
Ab12 |
✓ | Trailing numeric suffix allowed |
X |
✓ | Single uppercase letter |
WESTERN |
✓ | All uppercase allowed |
western |
✗ | Missing uppercase initial |
12Ab |
✗ | Digits must be at the end |
Ab-cd |
✗ | Contains hyphen |
Ab cd |
✗ | Contains space |
