An open API service indexing awesome lists of open source software.

https://github.com/dkniffin/tictactoe

Basic tic-tac-toe game
https://github.com/dkniffin/tictactoe

Last synced: about 2 months ago
JSON representation

Basic tic-tac-toe game

Awesome Lists containing this project

README

        

Usage
=====

After cloning the repo, all you have to do to run the app is `main.rb`. That will start up the program. Once you tell it whether you want to play as X or O, it'll ask you for your move, which you can give with single number. 1 is the top left, 9 is the bottom right.

Testing
=======

To run the tests, simply run `test.rb`. It will run all possible games.