I would know if there is a property to quit the game when it's finished by a player ? How can i do that ? Thanks.