Tic Tac Toe Game made in Ruby language
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 Postions in command line.
The first player to get 3 of thier own 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.
Install git
on your local machine.
Clone the repository to your local machine git clone https://github.com/iam-Akshat/ruby-tic-tac-toe
.
Cd into the repository cd ruby-tic-tac-toe
.
Open the ./bin/main.rb
file and run it with your editor, or excute the file using ruby runtime ./bin/main.rb
π€ Akshat Sethi
π€ Omar Rashad
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.