Welcome to Command Line Tic Tac Toe. Tic Tac Toe is a two player game, in which players take turns placing their marker, either an X or an O, on a 3 by 3 grid. The player that successfully places three of their markers in a horizontal, diagonal or vertical row wins. If the board is full and no player has succeeded completing a row of three, it's a draw.
- Ruby
Click on the Game Link below to start playing online!
- Click on the link above to play online on repl.it
- Wait for the terminal on the right to complete loading
- Enter
bin/main.rb
to start playing and follow the in-game instructions.
To get a local copy up and running follow these simple example steps.
- You need to have Ruby installed on your computer to run this game.
- You should be able to run
terminal
,command prompt
,bash
orPowershell
to open your command line. - Run
git clone https://github.com/m15e/tic-tac-toe
to clone this repository to your local machine. - Run
cd tic-tac-toe
to go to the game folder. - Run
bin/main.rb
to start the game and follow the in-game instructions.
- Ruby
- Commandline, Terminal, Prompt, Bash or Powershell
- Rspec for testing
Run Tests using Rspec
- Installing Rspec
$ gem install rspec
- Running tests with Rspec
To run tests run the following code in the command line from the root directory.
$ rspec
👤 Mark Rode
- Github: @m15e
👤 Clayton Siby
- Github: @ClaytonSiby
- Twitter: @ClaytonSiby
- Linkedin: @clayton-siby
👤 Guy Gustave Nigaba
- Github: @Guy-Gustave
- LinkedIn: Guy Gustave Nigaba
- Twitter: @NigabaG
Give a ⭐️ if you like this project!
- The Odin Project
- Microverse
This project is MIT licensed.