Patent ID: 8251807

Claim:
A method comprising: by a game flow software module that includes game flow logic and a state machine, the game flow software module being executed or executing from one or more random-access memory (RAM) locations within a gaming machine: receiving a request to start a game flow for the play of a game of chance, the game flow including rules for playing the game of chance; generating a plurality of game states in the game flow, the plurality of game states being used or usable to play the game of chance according to the rules; and communicating game state information for one or more of the game states to one or more other gaming software modules via one or more application program interfaces, wherein the game flow logic and the state machine for generating the game states is separate from logic for the one or more other gaming software modules, the logic for the one or more other gaming software modules including core logic for core gaming machine-wide functionality, the logic for the one or more other gaming software modules not including game flow logic for generating the game states.