implemented end game state