Ending game when a player gets score 10