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
- Host: GitHub
- URL: https://github.com/dkniffin/tictactoe
- Owner: dkniffin
- Created: 2015-04-14T02:48:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-20T14:21:58.000Z (about 10 years ago)
- Last Synced: 2025-02-10T07:17:09.009Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 172 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.