change logic when game finish