Skip to content

Commit a3857af

Browse files
authored
[feature] Accept y as a valid input (#15)
2 parents 4b76dac + 6f90172 commit a3857af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/play/utilities.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void isPlayerReady() {
4949
scanf("%c", &letter);
5050
puts("");
5151

52-
} while (letter != 'Y');
52+
} while (letter != 'y' && letter != 'Y');
5353
}
5454

5555
void playGame(Player* player) {

0 commit comments

Comments
 (0)