Ruby's Tic Tac Toe is a classic 3x3 game built with ruby and the usage of object oriented programming,
- Ruby
- Clone the repo by running
git clone
https://github.com/Solenka1/tic.tac.toe Or download the zip folder - Run
cd
tic_tac_toe in the terminal - Make sure you have ruby installed locally run
ruby -v
- To start the game run
bin/main
in the terminal
- The game is played on a 3xs display grid
- Player one is assigned 'X' while player two is assigned 'O'.
- Players take turns putting their markers in the place of numbers in the grid
- The first player to get 3 of the same markers in a row (up, down, across, or diagonally) is the winner.
- When all 9 positions are replaced with the markers, the game is over. If no player has 3 marks in a row, the game ends in a draw
👤 Gorgi Mitev
- GitHub: @Solenka1
- Twitter: @GorgiMitev
- LinkedIn: gorgi-mitev
👤 Leon Mbegera
- GitHub: @githubhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- The Odin Project
This project is MIT licensed.