Skip to content

Releases: nodots/backgammon-core

v1.0.0 — First GA release

Choose a tag to compare

@nodots nodots released this 22 Apr 21:47

First GA release of @nodots/backgammon-core.

The canonical game engine for Nodots Backgammon: move validation, board state machine, dice rolling, cube logic, hit/bear-off/block mechanics, GNU position ID encoding, and the Performance Rating calculator.

Install

npm install @nodots/backgammon-core

Pairs with:

Highlights

  • Unified presentation layer: every player sees themselves as white moving clockwise, regardless of backend direction
  • activePlay.moves as the single source of truth for available moves
  • Dual-number point system (clockwise/counterclockwise) handled internally
  • PR calculation with standard GNU BG formula (AEL × 500)