added end-game to the player, so we can save time.