1 2 3 4 5 6 7 8 9 10 11 12
/// State of the game after a player move. pub enum State { /// The move was invalid. InvalidMove, /// The game may continue. Continue, /// The game is over GameOver { /// If `true` the game was won, else the game was lost. won: bool, }, }