Categories: None [Edit]
sashite-pan
Parse and generate Portable Action Notation (PAN) strings for representing atomic actions in abstract strategy board games including chess, shogi, xiangqi, and others. PAN provides an intuitive operator-based syntax with six core operators: "-" (move to empty square), "+" (capture), "~" (special moves with side effects), "*" (drop to board), "." (drop with capture), and "=" (in-place transformation), plus "..." (pass turn).
Supports coordinates via CELL specification and piece identifiers via EPIN specification. Handles transformations ("e7-e8=Q"), enhanced/diminished states ("+R", "-P"), and style derivation markers ("K'"). Provides comprehensive validation, immutable action objects, and functional API design.
Examples: "e2-e4" (move), "d1+f3" (capture), "e1~g1" (castling), "P*e5" (drop), "e7-e8=Q" (promotion), "..." (pass), "+d4" (static capture), "e4=+P" (modify).
Total
Ranking: 56,100 of 187,591
Downloads: 18,825
Daily
Ranking: 45,150 of 187,571
Downloads: 11
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 182,369 | 841 | sashite-pcn |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 181,819 | 923 | sashite-cell |
| 184,525 | 581 | sashite-epin |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | cyri_ |