From: James Edward Gray II Date: 2004-12-16T07:01:31+09:00 Subject: Re: [Solution] [QUIZ] Learning Tic-Tac-Toe (#11) On Dec 14, 2004, at 7:17 PM, Thomas Leitner wrote: > I have attached my solution to this Ruby Quiz. Just FYI. Here's my latest game with your AI. It plays well, as you can see, but an exception is thrown: # One game or endless (o, e)? o # Welcome to TicTacToe # Valid players: Random Move Player, Learning AI Player, Human Mind Player # Choose first player (enter shortest unambiguous text) : learn # Choose second player (enter shortest unambiguous text) : human --- -0- --- Valid moves: 0,1,2,3,5,6,7,8 0 10- -0- --- Valid moves: 2,3,5,6,7,8 7 10- -0- 01- Valid moves: 2,3,5,8 2 101 -00 01- Valid moves: 3,8 3 draw tictactoe.rb:210:in `play_tictactoe': undefined local variable or method `game' for # (NameError) from tictactoe.rb:250 James Edward Gray II