Module t4t::for3

source ·
Expand description

Defines indexes into a collection of type PerPlayer<T, 3> and a move type for 3-player games.

Enums§

  • A move in a 3-player game. This type enables defining games where each player has a different type of move.

Constants§

  • The 1st player in a 3-player game.
  • The 2nd player in a 3-player game.
  • The 3rd player in a 3-player game.

Functions§

  • Construct a per-player collection of moves available to each player, given a vector of moves available to each player, which may be of different types.