clean code of the game

Running code of the game