diff --git a/games/tic_tac_toe.c b/games/tic_tac_toe.c index 07b7bd68..fbaf0e22 100644 --- a/games/tic_tac_toe.c +++ b/games/tic_tac_toe.c @@ -283,7 +283,7 @@ void place() int e = rand() % 9; - if (e >= 0 && e <= 8) + if (e >= 0) { if (game_table[e] != 'x' && game_table[e] != 'o') {