https://github.com/garrettmichaelgeorge/tic_tac_toe
Play Tic-Tac-Toe at the command line. Written in Ruby.
https://github.com/garrettmichaelgeorge/tic_tac_toe
cli game ruby
Last synced: 23 days ago
JSON representation
Play Tic-Tac-Toe at the command line. Written in Ruby.
- Host: GitHub
- URL: https://github.com/garrettmichaelgeorge/tic_tac_toe
- Owner: garrettmichaelgeorge
- License: mit
- Created: 2020-06-19T19:07:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T15:55:35.000Z (almost 6 years ago)
- Last Synced: 2025-01-17T09:46:32.991Z (over 1 year ago)
- Topics: cli, game, ruby
- Language: Ruby
- Homepage: https://repl.it/@garrettmgeorge/tictactoe
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tic-Tac-Toe at the Command Line
[](https://repl.it/github/garrettmichaelgeorge/tic_tac_toe)
Play Tic-Tac-Toe from the command line!
Built using Ruby.
## To play
### Online
1. Go to [https://repl.it/@garrettmgeorge/tictactoe](https://repl.it/@garrettmgeorge/tictactoe).
2. Click "run" at the top.
### Local Machine
#### Requirements
1. Two players (playing against the computer may be supported in future versions).
2. Ruby (v1.9+) installed on local computer. To check:
~~~
$ ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin17]
~~~
#### Process
1. Clone this repository.
~~~
$ git clone https://github.com/garrettmichaelgeorge/tic_tac_toe.git
~~~
2. Run the main Ruby script.
~~~
$ ruby tic_tac_toe.rb
~~~