In this project, we built a Tic Tac Toe game. The main goal is to put into practice the main concepts of Object Oriented Programming. Particularly, classes and access to their attributes.
- Ruby-2.5.1p57
- The game is played on a grid that's 3 squares by 3 squares. the table on the left shows which of the cells are available and which numbers(1-9) to press; while the table on the right shows user input
- You are X, your friend is O. Players take turns putting their marks in empty squares.
- The first player to get 3 of her/his 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.
- From bin folder right click on the main file and select open with terminal option
- Enter your and your oponent's name
- Take turns and play the game as per the instructions provided
1. Click on the install or download button under the repository name and grab the url
by clicking on the clipboard icon
2.open your terminal
3.Navigate to the location in your computer where you want the repo to be cloned
4. Type git clone and paste the url you copied on step one.
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
5. Press Enter. Your local clone will be created.
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
> Cloning into `Spoon-Knife`...
> remote: Counting objects: 10, done.
> remote: Compressing objects: 100% (8/8), done.
> remove: Total 10 (delta 1), reused 10 (delta 1)
> Unpacking objects: 100% (10/10), done.
👤 Author
- Gmail: Teshager Admasu
- Github: @teshager21
- Twitter: @Teshage84907805
- Linkedin: Teshager Admasu
👤 Author
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
- Email: email
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.