Oh no! I don't have time for this but you hit a weak spot! I wrote this very 
program in VB over a decade ago!

I must not be tempted.... I must not be tempted....

T.


On Friday 10 December 2004 09:29 am, Ruby Quiz wrote:
| The three rules of Ruby Quiz:
|
| 1.  Please do not post any solutions or spoiler discussion for this quiz
| until 48 hours have passed from the time on this message.
|
| 2.  Support Ruby Quiz by submitting ideas as often as you can:
|
| http://www.grayproductions.net/ruby_quiz/
|
| 3.  Enjoy!
|
| -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|=-=-=
|
| This week's Ruby Quiz is to implement an AI for playing Tic-Tac-Toe, with a
| catch:  You're not allowed to embed any knowledge of the game into your
| creation beyond how to make legal moves and recognizing that it has won or
| lost.
|
| Your program is expected to "learn" from the games it plays, until it
| masters the game and can play flawlessly.
|
| Submissions can have any interface, but should be able to play against
| humans interactively.  However, I also suggest making it easy to play
| against another AI, so you can "teach" the program faster.
|
| Being able to monitor the learning progression and know when a program has
| mastered the game would be very interesting, if you can manage it.

-- 
( o _  елеще┴
 //    trans.
/ \    transami / runbox.com

ruby -rdrb -e 
'DRb.start_service;duck=DRbObject.new(nil,"druby://whytheluckystiff.net:6503");puts 
duck.toms'

I don't give a damn for a man that can only spell a word one way.
-Mark Twain

[8,16,20,29,78,65,2,14,26,12,12,28,71,114,12,13,12,82,72,21,17,4,10,2,95].
each_with_index{|x,i| $><<(x^'Begin landing your troops'[i]).chr}
-Tadayoshi Funaba