[go: nahoru, domu]

Skip to content

Commit

Permalink
AI disabled again
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingWolFox committed Nov 30, 2019
1 parent 3bdf21b commit 7905421
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jogo da Velha/tictactoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,9 @@ int main(int argc, char* argv[])

// AI disabled for now, too buggy
// look at issues to know why
printf("Would you like to play which mode: 1- Singleplyer or 2- Multiplayer\n");
if (scanf("%i", &player) == 1); // gets the player mode
//player = 2;
//printf("Would you like to play which mode: 1- Singleplyer or 2- Multiplayer\n");
//if (scanf("%i", &player) == 1); // gets the player mode
player = 2;

printf("Which you'll play with? 1- X ou 2- O\n");
if (scanf("%i", &symbolPreference) == 2); // gets the symbol preference for player 1
Expand Down

0 comments on commit 7905421

Please sign in to comment.