game_solver

Module game

source
Expand description

Game trait and related types.

Enums§

  • Represents an outcome of a game derived by a score and a valid instance of a game.
  • Represents a move outcome
  • Defines the ‘state’ the game is in.

Traits§

  • Represents a combinatorial game.

Functions§

  • Utility function to convert a score to the amount of moves to a win or loss, or a tie.
  • Utility function to get the upper score bound of a game.