RubyGems Navigation menu

sashite-stn 1.0.0

STN (State Transition Notation) provides a rule-agnostic format for describing state transitions in abstract strategy board games. This gem implements the STN Specification v1.0.0 with a modern Ruby interface featuring immutable transition objects and functional programming principles. STN captures net changes between game positions by recording modifications in piece locations, hand/reserve contents, and active player status using standardized CELL coordinates and QPI piece identification. Perfect for game engines, position diff tracking, undo/redo systems, and network synchronization requiring efficient state delta representation across multiple game types and traditions.

Gemfile:
=

install:
=

Versions:

  1. 1.0.0 September 09, 2025 (12.5 KB)

Runtime Dependencies (2):

sashite-cell ~> 2.0
sashite-qpi ~> 1.0

Owners:

Pushed by:

Authors:

  • Cyril Kato

SHA 256 checksum:

=

Total downloads 291

For this version 291

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: