Tic-Tac-Toe


Tic-Tac-Toe

There are title="Google+search+for+Alpha-Beta+pruning+resources">lots of
resources
on the web about Minimax with Alpha-Beta pruning (the
algorithm that forms the basis of most chess, draughts and other
game-playing AIs). What I found missing when trying to implement it
was a solid practical example. Hopefully this Java
version of Noughts and Crosses (Tic-Tac-Toe) is one.

The classes for those interested in minimax with alpha-beta pruning
are AI
and Node

Browse the
source code
| Browse the
javadoc
| Changelog

Joshua S. Gilpatrick rewrote my code to remove some of the extraneous
detail and added a graphical board. You can download
his code
.


About

My name is Thomas David Baker. I work for Ning in London and Palo Alto.

bluebones.net is about programming, and anything else that interests me.

You can contact me at bakert+web@gmail.com.

DNS served by everydns.net.

Categories