1. A method for evaluating a game outcome on a gaming machine, the method comprising: receiving a game rules script, the game rules script defining a set of winning outcomes; parsing the games rules script into a game rules data structure; generating a game outcome; and determining if the game outcome matches at least one winning outcome in the set of winning outcomes in accordance with the game rules data structure.