creation of the game with MAX