Skip to content

adamgooch/TicTacToeJavaLimelight

Repository files navigation

This is an unbeatable game of Tic Tac Toe played via a console or a gui.

To play the console version, simply run: 

./play_console

You will be presented with a menu.
Enter 0 to play against a friend.
Enter 1 to play against the computer.
Enter 2 to watch the computer play against itself.

To play the GUI version, you must be running JRuby.  If you're running rvm enter:

rvm use jruby

If you get an error enter:

rvm list

Then use a version of jruby that is installed.  ie:

rvm use jruby-1.6.7

If you don't have jruby installed, enter:

rvm install jruby

If you aren't using rvm...you should be.  Check out rvm.io on the Interweb.

Next, the limelight v.0.5.5 gem must be installed.  Enter:

bundle install

Finally, run the game with:

./play_gui

This game was tested with JRuby 1.6.7 and Limelight 0.5.5.
If these requirements are met, simply run: ./play_gui

About

A Tic Tac Toe game played on the console or GUI written in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published