Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksandarivezic/tic-tac-toe_ruby-project
A simple Tic-Tac-Toe multiplayer game built using Ruby. You can follow the live demo link from the readme file and enjoy playing yourself.
https://github.com/aleksandarivezic/tic-tac-toe_ruby-project
Last synced: 1 day ago
JSON representation
A simple Tic-Tac-Toe multiplayer game built using Ruby. You can follow the live demo link from the readme file and enjoy playing yourself.
- Host: GitHub
- URL: https://github.com/aleksandarivezic/tic-tac-toe_ruby-project
- Owner: AleksandarIvezic
- Created: 2021-04-27T08:03:53.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-09-03T20:06:28.000Z (over 3 years ago)
- Last Synced: 2024-12-21T07:51:31.668Z (8 days ago)
- Language: Ruby
- Homepage:
- Size: 76.2 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Microverse-blueviolet)
# Tic-Tac-Toe_Ruby-project
> In this project we are going to make a Tic-Tac-Toe game using Ruby.
>
> This project is a tic-tac-toe game on the command line where two human players can play against each other, and the board is displayed in between turns.- Player 1 name input :
![screenshot](./screenshots/Enter-player-1.png)
- Gameplay :
![screenshot](./screenshots/Player-1-turn.png)
- Gameover announce the winner :
![screenshot](./screenshots/The-end-of-the-game.png)
## Built With
-Ruby
## Live Demo
[Live Demo Link](https://replit.com/@safaaballagh/Tic-Tac-ToeRuby-project#.replit)
## Getting Started
### Prerequisites
- Ruby installed### Setup
- To download this repository go on this page [Tic-Tac-Toe](https://github.com/ShinobiWarior/Tic-Tac-Toe_Ruby-project) and click on the Code button
- Then you can choose to download it as a ZIP file or copy HTTPS/ssh address and clone it using Terminal or Bash in your local machine.
- Enter the file of the Repository with your Terminal/Bash and run "./bin/main.RB"
-To run it remotely you can follow the link [Tic-Tac-Toe-Game](https://replit.com/@safaaballagh/Tic-Tac-ToeRuby-project#.replit)
## RULES FOR TIC-TAC-TOE
1. The game is played on a grid that's 3 squares by 3 squares marked by numbers from 1 to 9
2. The first player is X, the second one is O. Players take turns putting their marks in empty squares typing in a number of the square they choose.
3. The first player who gets 3 of his/her marks in a row (up, down, across, or diagonally) is the winner.
4. When all 9 squares are full, the game is over. If no player has 3 marks in a row, the game ends in a draw.If you want extra information about the game rules, check this link from [Wikipedia](https://en.wikipedia.org/wiki/Tic-tac-toe)
## Authors👤 **Safa Aballagh**
- GitHub: [@Safafa](https://github.com/safafa)
- Twitter: [@safa aballagh](https://twitter.com/Aballagh_S)
- LinkedIn: [Aballagh Safa](https://www.linkedin.com/in/aballaghsafa/)👤 **Aleksandar Ivezic**
- GitHub: [@Aleksandar Ivezic](https://github.com/ShinobiWarior)
- Twitter: [@AIvezic](https://twitter.com/AIvezic)
- LinkedIn: [Aleksandar Ivezic](https://www.linkedin.com/in/aleksandar-ivezic/)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/ShinobiWarior/Tic-Tac-Toe_Ruby-project/issues).
## Acknowledgments
- This project was inspired by [Microverse](https://www.microverse.org/?grsf=w9rx3c)
## Show your support
Give a ⭐️ if you like this project!