added more game logic
more game logic