Call gameHasDone correctly.