Patent attributes
In a gaming machine of the present invention, a processing device executes: a processing reading from a storage device a program for shifting the game state from a without-insurance mode to a with-insurance mode on condition that a specific number of game media have been inserted, and then executing the program; a processing reading from the storage device a program for providing the player with a predetermined profit when a predetermined variable, accumulatively counted every time a game is played after the game state has been shifted to the with-insurance mode, reaches a set value that is an object of comparison with the predetermined variable, and then executing the program; and a processing reading from the storage device a program for shifting the game state from the with-insurance mode to the without-insurance mode when a result of the game in the with-insurance mode satisfies a predetermined condition, and then executing the program.