Explore the repo - Report Bug »
- Index
- About The Project
- Prerequisites and Instructions
- How to Play
- Built With
- Contact
- Acknowledgements
This Project consists in building the classic and famous Tic-Tac-Toe Game from the scratch using Ruby OOP.
As a prior requirement the game must be fully functional.
The project especifications are also described in: theodinproject.com
-
To run this project Ruby lang, must be installed:
- Ruby installation on windows
https://www.ruby-lang.org/es/documentation/installation/#rubyinstaller
- Ruby installation on Linux
sudo apt-get install ruby-full
- Clone the repo
https://github.com/leonmezu1/Tic-Tac-Toe.git
-
Game execution
- To properly execute de game you can execute the main file via command:
bin/main.rb
- Or directly execute the main.rb file from the explorer.
Running the main.rb file you will be prompted as the following image:
You can select the option X to play the game or I to read the instructions, any other input is rejected.
The instructions and the game mechanic is also described in the following images:
If your option was 'X' now you will be in the game mode selection screen, you will be asked to provide your nickname(s) after choosing:
Now you are READY!, let's play. 😎
Once any player or the computer wins or if a tie is generated the game will be terminated just after showing the game results 😎
This project has been developed with:
Debugging operation is supported by:
Project Link: https://github.com/leonmezu1/Enumerables
Leonardo Mezu - Leonardo Mezu L.
leo7xs@gmail.com | Portfolio | LinkedIn | Twitter
Leonardo Mezu - Microverse OOP Project.