Play Tic-Tac-Toe in Ruby using Curses(full-screen-commandline app)
Ruby
Latest commit 227d54c Dec 13, 2013 @grosser v0.2.3
Failed to load latest commit information.
bin dispel Dec 13, 2013
lib v0.2.3 Dec 13, 2013
spec cleanup Jan 3, 2011
Gemfile dispel Dec 14, 2013
Gemfile.lock v0.2.3 Dec 14, 2013
Rakefile add bump Dec 10, 2012
Readme.md add AI Jan 2, 2011
tic_tac_toe.gemspec dispel Dec 14, 2013

Readme.md

Play Tic-Tac-Toe using Curses(full-screen-commandline app) vs humans or AI
More of an example app.

Install

sudo gem install tic_tac_toe

Usage

tic_tac_toe

Use cursor keys to select field, enter to make your mark.
AI only plans 1 step ahead, so its beatable ;)

Author

Michael Grosser
grosser.michael@gmail.com
Hereby placed under public domain, do what you want, just do not hold me accountable...