created structure of the game