Patent ID: 7033272

Claim:
A method for operating a gaming machine under control of a processor operable in a bonus mode, the method comprising the steps of: setting up under control of the processor a bonus game by defining a plurality of selection elements including an end-bonus spot, each selection element having a bonus game outcome associated therewith; generating a bonus script, said script comprising a plural ity of steps in each of which a predetermined selection element is chosen, the last step of which is associated with an end-bonus spot; storing the script in a memory; retrieving the script from memory and operating the script on the gaming machine to select one or more selection elements in the bonus mode until encountering a selection element associated with an end-bonus spot, the selection element associated with the end-bonus spot causing the processor to end the bonus game; determining under control of the processor a value of the selection elements selected in the bonus game; and awarding a bonus credit based on said value of the selection elements selected.