duncanjbrown / tictactoe

Tic tac toe in Clojure, with arbitrary board size and # of players

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ttt

Tic tac toe, following a session at London Clojurians' monthly Clojure Dojo. The original repository from the Dojo is here.

Screenshot

Instructions

lein run

To place a piece, enter a number between 1 and 9.

You can increase the size of the board by adjusting the size var in core. You can change the players by editing the players var in the same file.

Known issues

  • It's impossible to quit, save via C-c.
  • You can crash it by typing non-numeric chars in at the prompt.

About

Tic tac toe in Clojure, with arbitrary board size and # of players

License:Eclipse Public License 1.0


Languages

Language:Clojure 100.0%