PNN (Piece Name Notation) provides a rule-agnostic, scalable naming system for identifying abstract strategy board game pieces. This gem implements the PNN Specification v1.0.0 with a modern Ruby interface featuring immutable piece name objects and functional programming principles. PNN uses canonical ASCII names with optional state modifiers and optional terminal markers (e.g., "KING", "queen", "+ROOK", "-pawn", "KING^", "+GENERAL^") to unambiguously refer to game pieces across variants and traditions. Ideal for engines, protocols, and tools that need clear and extensible piece identifiers.

Required Ruby Version

>= 3.2.0

Authors

Cyril Kato

Versions

  1. 3.1.0 December 02, 2025 (10.5 KB)
  2. 3.0.0 September 05, 2025 (9.5 KB)
  3. 2.0.0 July 02, 2025 (14 KB)
  4. 1.0.1 June 29, 2025 (10.5 KB)
  5. 1.0.0 June 29, 2025 (10.5 KB)

Pushed by

SHA 256 checksum