Still further, the invention provides the gaming machine further comprising game program storage means for storing game programs of a plurality of types of games; and game program extraction means for extracting a game program of the selected type of game from the game program storage means, and setting the extracted game program in a storage region for execution of a game.