Just load code onto your machine, load lib/rubymind.rb in IRB, and either enter "Game.new" or "AI.new" Didn't make it robust, didn't make it pretty, but AI needs only 5 Steps most of the time.