Browse Source

No winner

remotes/origin/fdai7775-main-patch-54732
fdai7775 11 months ago
parent
commit
22ce5b5fc4
  1. 3
      src/main/c/GameTic_Tac_Toe/game.c

3
src/main/c/GameTic_Tac_Toe/game.c

@ -29,3 +29,6 @@ char checkWinner() {
if (board[0][0] == board[1][1] && board[1][1] == board[2][2]) return board[0][0];
if (board[0][2] == board[1][1] && board[1][1] == board[2][0]) return board[0][2];
// Kein Gewinner
return ' ';
}
Loading…
Cancel
Save