Expand description

a basic engine and move validator for the game 2048

Includes wasm bindings generated with wasm_bindgen

Modules

  • Provides Board to hold game board data and tile to hold the values of the board tiles.
  • Provides Direction to represent move directions
  • Pseudo-random number generation for game logic
  • Rulesets for the game.
  • Unified interface for parsing and validating all versions of the recording format.
  • Interface version 1
  • Interface version 2