Thomas Ross Hallock

Octi For Kids Haskellbot

North: 12 prongs
+---+---+---+---+---+---+
|   |   |   |   |   |   |
|   |   |   |   |   |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
|   |   |   |   |   |   |
|   | O | O | O | O |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
|   |   |   |   |   |   |
|   |   |   |   |   |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
|   |   |   |   |   |   |
|   |   |   |   |   |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
|   |   |   |   |   |   |
|   |   |   |   |   |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
|   | | |   |   |   |   |
|   | X | X | X | X |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
|   |   |   |   |   |   |
|   |   |   |   |   |   |
|   |   |   |   |   |   |
+---+---+---+---+---+---+
South: 11 prongs

On the heels of last week’s post of my implementation of Tonobeb for the web, I bring you another board game blast from my past: back in 2001, I wrote a simple minimax AI in Haskell for a board game called Octi for Kids, a simplified version of Don Green‘s OCTI board game.

I finally had some time this morning to recompile the Haskell code into a binary that runs on my webhost, so now you can play against it while it thinks:

Inspection of the url in the links above will reveal how to arbitrarily increase the look-ahead level.

The code is available here on github.

Tagged on: , ,

One thought on “Octi For Kids Haskellbot

Leave a Reply

Your email address will not be published. Required fields are marked *