Skip to content

Commit 4967e06

Browse files
committed
feature: accept y as valid input
1 parent 9f89f88 commit 4967e06

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
@@ -40,7 +40,7 @@ void isPlayerReady() {
4040
scanf("%c", &letter);
4141
puts("");
4242

43-
} while (letter != 'Y');
43+
} while (letter != 'y' && letter != 'Y');
4444
}
4545

4646
void playGame(Player* player) {

0 commit comments

Comments
 (0)