We built 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. It was made as a collaborative project in Ruby using OOP concepts
Two human players can play to Tic-Tac-Toe board game
Ruby VSCode
To get a local copy up and running follow these simple example steps.
Clone the project unto your local machine cd to the folder and run "start_game.rb" on your terminal
-
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 marks in empty squares.
-
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. If no player has 3 marks in a row, the game ends in a tie.
- Get ruby latest version installed
- Install VSCode or any code editor you like
- Install Node JS and NPM(most recent versions)
👤 SpaYco
- Github: @SpaYco
- Twitter: @iSpaYco
- Linkedin: Aziz Mejri
- Hackernoon: @SpaYco
👤 Javier Oriol Correas Sanchez Cuesta
- Github: @javitocor
- Twitter: @JavierCorreas4
- Linkedin: Javier Oriol Correas Sanchez Cuesta
Contributions, issues, and feature requests are welcome! Start by:
- Forking the project
- Cloning the project to your local machine
- cd into the project directory
- Run git checkout -b your-branch-name
- Make your contributions
- Push your branch up to your forked repository
- Open a Pull Request with a detailed description of the development branch of the original project for a review
🚀
Give a ⭐️ if you like this project!
📝 License
Check out my stories on medium to see what I'm talking about! Follow me on Instagram and Twitter to see what I am up to!
Enjoy!