Skip to content
Snippets Groups Projects
Commit 141f82f0 authored by Bariatti Francesco's avatar Bariatti Francesco
Browse files

Added some spaces

parent 564f8263
No related branches found
No related tags found
No related merge requests found
......@@ -73,10 +73,10 @@ namespace game
int morpion::value(uint8_t player) const
{
if (player == CROSS) {
return state.first_player_win? 1 : (state.second_player_win? -1 : 0);
return state.first_player_win ? 1 : (state.second_player_win ? -1 : 0);
}
else if (player == CIRCLE) {
return state.second_player_win? 1 : (state.first_player_win? -1 : 0);
return state.second_player_win ? 1 : (state.first_player_win ? -1 : 0);
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment