I broke the game. It may be something to look into.
But I know just how hard programming games is, due to me doing it at one point myself.