We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c036a02 commit cccdfc6Copy full SHA for cccdfc6
src/play/tateti/main.c
@@ -133,7 +133,7 @@ int playGame(Player *player) {
133
}
134
if (player02Won) {
135
printf("\n>GANO PJ 02 %s \n", getNamePlayer(&player02)); // TODO. improve output
136
- if (strcmp(getNamePlayer(&player01), "AI") == 0) {
+ if (strcmp(getNamePlayer(&player02), "AI") == 0) {
137
addPlayerPoints(player, DEFEAT);
138
addPlayerLostGames(player);
139
0 commit comments