Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Examples of Tic-Tac-Toe utilizing minimax in a variety of languages

branch: master
README.textile

Minimax Demonstrated Using Tic-Tac-Toe in Ruby and Lisp

Ruby

To run the ruby version, make sure tictactoe.rb has execute privileges and run ./tictactoe.rb.

Common Lisp

For the lisp version, you need install a Lisp implementation. I use clisp. On a mac, you can install that with “brew install clisp”.

After that, cd to the “phase1” directory and run clisp in your shell. When clisp loads, run (load 'tictactoe)

Enter (exit) to end the session.

Clojure

Enter the fms.tictactoe namespace and run (start)

Something went wrong with that request. Please try again.