Update game.c

Adding error checking