/tic_tac_toe

Play Tic-Tac-Toe at the command line. Written in Ruby.

Primary LanguageRubyMIT LicenseMIT

Tic-Tac-Toe at the Command Line

Run on Repl.it

Play Tic-Tac-Toe from the command line!

Built using Ruby.

To play

Online

  1. Go to 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