Tic-Tac-Toe

Just BASIC Games
uncleBen
Posts: 63
Joined: Sat Oct 29, 2005 9:03 pm

Tic-Tac-Toe

Post by uncleBen »

This is my version of Tic-Tac-Toe.

I believe it is a bit better than the ttt.bas that comes with JB, because it actually makes an effort to win! 8)

(The problem with ttt.bas is that the comp player prefers blocking the player to winning. :D I think if the order of "search for defensive/offensive move" bits was changed, it would be OK.)

It is also an attempt to program a primitive AI (meaning it doesn't learn from its successes and failures, but it chooses its moves as wisely as I could make it to, without using tables or such aids, but by trying out and evaluating all possible moves.)

Enjoy!
You do not have the required permissions to view the files attached to this post.