leonmezu1 / Tic-Tac-Toe

Tic Tac Toe project based in Ruby OOP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby_lang

Tic Tac Toe Interactive Game Built With RUBY OOP


Flash

Explore the repo - Report Bug »

Index

About The Project

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

Prerequisites and Instructions

  • 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.

How to Play

Running the main.rb file you will be prompted as the following image:


Welcome

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:


Instructions


Instructions

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:


Selection

Now you are READY!, let's play. 😎


Board

Once any player or the computer wins or if a tie is generated the game will be terminated just after showing the game results 😎


Winner
Tie

Built With

This project has been developed with:

Debugging operation is supported by:

Contact

Project Link: https://github.com/leonmezu1/Enumerables

Leonardo Mezu - Leonardo Mezu L.

leo7xs@gmail.com   | Portfolio   | LinkedIn   | Twitter

Acknowledgements

Leonardo Mezu - Microverse OOP Project.

About

Tic Tac Toe project based in Ruby OOP

License:MIT License


Languages

Language:Ruby 100.0%