fix endGame bug
link to the game