Struct twozero48::Game [−][src]
pub struct Game { /* fields omitted */ }
Expand description
An object that models the board to play 2048 on and defines the rules for the game
Implementations
Constructs a board to play the game board_size >= 2, defines board’s length & breadth winning >= 4 and a power of 2, defines the value for game to havae been won
To refresh and return a reference to the game board after a valid move
Auto Trait Implementations
impl RefUnwindSafe for Game
impl UnwindSafe for Game