Command line based Tic Tac Toe game built with Ruby
To get a local copy up and running follow these simple example steps.
- Clone or download this repository to your local workstation.
- cd into the tic-tac-toe folder
- Run 'bin/main.rb' in your terminal to start the game.
Since all the code is written using ruby Ruby Runtime >= 1.9
ruby is required to interpret the code. if you don't have ruby runtime installed on your computer follow the instruction for your specific operating system on the official installation guide
- Run 'bin/main.rb' in your terminal to start the game.
- Next you will be promted to enter each players name and each player will be assigned a symbol to use in the game.
- Now you are ready to play the game
- The game is played on a grid that's 3 * 3 square of tiles
- Each player registers into the game by providing his/her name and then a symbol will be assigned them.
- First player to get 3 of his/her marks in a row (horizontally, Vertically or diagonally) is the winner.
- When all 9 tiles are full but if no player has 3 marks in a row, the game ends in a tie.
- After each game, you will be asked to enter 'Y' to play the game again. Entering any other key ends the game.
👤 Samuel Ebeagu
- Github: @ebeagusamuel
- Twitter: @ebeagu_samuel
- Linkedin: linkedin
👤 Christopher Amanor
- Github: @krys2fa
- Twitter: @krys2fa
- Linkedin: Christopher Amanor
- Email: Christopher Amanor
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.