finished the game logique