The three rules of Ruby Quiz:\n\n1. Please do not post any solutions or spoiler discussion for this quiz until\n48 hours have passed from the time on this message.\n\n2. Support Ruby Quiz by submitting ideas as often as you can:\n\n[URL]http://www.grayproductions.net/ruby_quiz/[/URL]\n\n3. Enjoy!\n\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\nThis week's Ruby Quiz is to implement an AI for playing Tic-Tac-Toe, with a\ncatch: You're not allowed to embed any knowledge of the game into your creation\nbeyond how to make legal moves and recognizing that it has won or lost.\n\nYour program is expected to "learn" from the games it plays, until it masters\nthe game and can play flawlessly.\n\nSubmissions can have any interface, but should be able to play against humans\ninteractively. However, I also suggest making it easy to play against another\nAI, so you can "teach" the program faster.\n\nBeing able to monitor the learning progression and know when a program has\nmastered the game would be very interesting, if you can manage it.