Build a tic-tac-toe game on the command line where two human players can play against each other and the board is displayed in between turns.
The object of Tic Tac Toe is to get three consecutive cells (row, column or diagonal). You play on a three by three game board. The first player is known as X and the second is O. Players alternate placing Xs and Os on the game board until either opponent has three consecutive cells or all nine squares are filled. X always goes first, and in the event that no one has three consecutive cells, the stalemate is called a cat game.
- Ruby 2.6.5
-
Download the zip file and decompressed it
-
Right-click on the Tic-Tac-Toe folder and select Open Terminal Here
-
Now use this command to start the game: bin/main.rb
Ruby 2.6.5
👤 Roberto Perez Jimenez
- Github: @LoboArkano
- Twitter: @LoboArcano92
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is for Microverse course purposes.