Update game.c

Fixed infinite while loop bug in modeSelect