This is a Tic-Tac-Toe game made with ruby
-
The game is played on a grid that's 3 squares by 3 squares.
-
You are X, your friend (or the computer in this case) is O. ...
-
The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
-
When all 9 squares are full, the game is over
-
Clone the repo
-
Navigate to bin folder and run
main.rb
- Press Enter to start playing
- Press
s
andEnter
to start
- Enter player names
- Start playing (Player 1 is
'X'
and Player 2 is'O'
)
-
To Mark a spot on the Board you can use the coordinates to the left and bottom of the board. eg.
A2
-
Note: Make sure you start with the letters
'A'
or'B'
or'C'
.
- After finishing a game, you can choose to play another game by pressing
'r'
- You can press
'q'
to quit the game.
- Ruby
π€ Binyam Hailemeskel
- GitHub: @bini-i
- Twitter: @binyamshewa
- LinkedIn: LinkedIn
π€ Sinan Sevgi
- GitHub: @sinansevgi
- LinkedIn: @sinansevgi
Contributions, issues, and feature requests are welcome!
Give a βοΈ if you like this project!
This project is MIT licensed.