Ah, I forgot!
I think you must put a exit condition to the game. I must to get out of the game in ugly way. : )