pub fn new(role: PlayerRole) -> Self {
        Self {
            role,
            scene_index: 1,
            is_ready: false,
            play_again: false,
            current_buffer: 0,
            board: Board::new(),
            init_board: Board::new(),
        }
    }
/// Constructs a new player instance given a role
Constructs a new player instance given a role
Constructs a new player instance given a role
pub fn new(role: PlayerRole) -> Self {
        Self {
            role,
            scene_index: 1,
            is_ready: false,
            play_again: false,
            current_buffer: 0,
            board: Board::new(),
            init_board: Board::new(),
        }
    }
pub fn new ( role : PlayerRole ) -> Self { Self { role , scene_index : 1 , is_ready : false , play_again : false , current_buffer : 0 , board : Board :: new ( ) , init_board : Board :: new ( ) , } }
Constructs a new player instance given a role
Constructs a new player instance given a role
role
PlayerRole