Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii Korchemkin committed Mar 22, 2023
1 parent d772445 commit ed27f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void game_loop(

draw(game_map, player1->marker, player2->marker);

char winner_marker;
char winner_marker = '\0';
if (steps_left <= game_map_length - SIDE_SIZE) {
winner_marker = get_winner_marker(game_map,
winning_combinations_indexes,
Expand Down

0 comments on commit ed27f3e

Please sign in to comment.