Developed a little more the game logic.