Expand description
Player newtype (mod-4 arithmetic).
Structs§
- Player
- Player index – 0, 1, 2, 3 => player assigned east, south, west, north in the initial round.
Constants§
Functions§
- all_
players_ from - Returns an array of all players, starting from the given player, in natural turn order.
- other_
players_ after - Returns an array of the 3 players after the given player, in natural turn order.
- player
- Shorthand for
Player::new.