diff --git a/main.c b/main.c index 947cff5..1ff63c8 100644 --- a/main.c +++ b/main.c @@ -178,7 +178,9 @@ void playMoves(game *g, char *moves) { if (tmp) *tmp &= (~bit); if (strlen(move) == 5) { - set = charToSet(g, move[4]); + char c = move[4]; + c = toupper(c); + set = charToSet(g, c); } *set |= bit;