// Passes current player and gives back other play
// X = true
// O = false
Passes current player and gives back other play
X = true
O = false
Passes current player and gives back other play X = true O = false
fn give_turn_to_next_player(mut player: bool) -> bool {
    // Give turn to next player
    if player {
        player = false;
    } else {
        player = true;
    }
    player
}
fn give_turn_to_next_player ( mut player : bool ) -> bool { // Give turn to next player if player { player = false ; } else { player = true ; } player }
Passes current player and gives back other play
X = true
O = false
Passes current player and gives back other play X = true O = false
player
bool