This game is a virtual implementation of the classic and fun tic-tac-toe game.
-
The game is played on a grid that's 3 squares by 3 squares.
-
In this version, both you and your friend can choose whatever symbols you want. 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.
-
In this virtual implementation, you and your friend can place a mark by selecting from a representation of rows and columns, from number 1 to 3, like in that example: (rowcolumn) (11)
A winning position would like the image below at the end. As soon as someone gets three of their marks in a row, the game ends.
For a detailed explanation, please have a look at this guide.
- Ruby
- Vs Code
- Rubocop
- To play the game, click on the link below and then on the top green button with the label run.
To get a local copy up and running follow these simple example steps.
- Ruby
- Clone the project to your local machine
- Open the file of the project on your terminal, and then type bin/main.rb and press enter.
- Okiror Frank
- Expedito Andrade
👤 Okiror Frank
- Github: @frankopkusianwar
- Twitter: @franko0781
- Linkedin: Okiror Frank
- Email: okirorfrank3@gmail.com
👤 Expedito Andrade
- Github: @githubexpjazz
- Twitter: @expjazz
- Linkedin: Expedito Andrade
- Email: expeditojazz@gmail.com
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse, standup team and the microverse community for helping build the skills that were used on this project
This project is MIT licensed.