This project creates a console-like game of Tic Tac Toe that allows the user to interact in a multiplayer game.
To get started, you should first get this file in your local machine by downloading this project or typing
git clone https://github.com/Salvador-ON/03_Tic_Tac_Toe.git
or you could play it online here, and skip the Prerequisites & Running the Program steps.
Before you start playing the game, you need to be sure that you have ruby installed in your computer, by typing
ruby -v
and it should return something like
####### ruby 2.6.##### (20##-##-## revision 6####) [########]
If it's not installed in your system, follow this guide and it will help you te get it done
-
The game is played on a grid that's 3 squares by 3 squares.
-
You are X, your friend is O. Players take turns putting their marks in empty squares.
-
The first player to get 3 of her marks in a row (up, down, across, or diagonally) is the winner.
-
When all 9 squares are full, the game is over. If no player has 3 marks in a row, the game ends in a tie.
For the online version to start the program You only need to click on the Run Button.
For the local machine version, You need to open your terminal and go to the downloaded folder, and You need to run the next command.
ruby bin/main.rb
The code includes unit testing using RSpec. To start the test run the next line in your terminal:
rspec
Salvador Olvera
- Linkedin: Salvador Olvera
- Github: @Salvador-ON
- Twitter: @Salvador Olvera_ON
Daniel Laloush
- Linkedin: Daniel Laloush
- Github: @Dandush03
- Twitter: @d_laloush
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a start if you like this project!
- Thanks to Microverse!
This project is MIT licensed.