Skip to content
Tic Tac Toe in Io
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

This is a Tic Tac Toe implementation in Io as part of my residency at 8th Light.

Best move is calculated with an array of possible moves that is searched. This is inefficient, but using hashmaps was causing segfaults when they got sufficiently large.

The initial version calculated the result, but it was far too slow to use (on the order of minutes) despite some optimizations I made.

Big thanks goes to Jeremy Treguna for all his help on IRC.


# install the Io programming language
$ brew install io

# install test lib
$ git clone
$ cd willful
$ io
$ cd ..
$ rm -rf "willful"

# install ttt-io
$ git clone git://
$ cd ttt-io

Run Tests

$ willful test/* test/cli/*

Play Game

$ bin/ttt-io
Something went wrong with that request. Please try again.