Tic-Tac-Toe at the Command Line
Play Tic-Tac-Toe from the command line!
Built using Ruby.
To play
Online
- Go to https://repl.it/@garrettmgeorge/tictactoe.
- Click "run" at the top.
Local Machine
Requirements
-
Two players (playing against the computer may be supported in future versions).
-
Ruby (v1.9+) installed on local computer. To check:
$ ruby -v ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin17]
Process
-
Clone this repository.
$ git clone https://github.com/garrettmichaelgeorge/tic_tac_toe.git
-
Run the main Ruby script.
$ ruby tic_tac_toe.rb