View Single Post
  #3  
Old November 20th, 2004, 12:11 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT: I made a Tic-Tac-Toe learning AI.

Chess AI? Chess AI?! *Blink Blink* *Faint*

It's not a true learning program, all it does is record the part of the board that is three X's or O's in a row when it wins, then next game it checks that list to see if anything on the board looks close to one of those patterns. If it does, it tries to fill in the missing parts. In v2 each AI should also check their enemy's tokens to see if they are close to any winning solution it knows, then if they are, place a peice in that pattern to interfere. Very simple. Just learns patterns and runs them through if-then statements. Have to re-write it for checkers...And I still have a chat program to finish.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote