On this project, we are creating a Terminal Tic-Tac-Toe game, using Ruby and following Object Oriented Programming and DRY rules.
- Ruby
- Rubocop
This is a very simple Tic Tac Toe Game and it's played as follows:
- This game is a 1 vs 1 table game
- You will see a 3 by 3 board with 9 spaces in total
- Players take turns to place their symbol (X or O) in an available space
- Available spaces are those that doesn't have a symbol in it
- The objective is to place 3 symbols in any vertical, horizontal, or diagonal row
- If all spaces are taken and none of the player have won, the game ends in a draw
To Play this game you need to make a local copy of the repo or play it online on the live version
To get a local copy up and running follow these simple example steps.
- Open your Command Line or Terminal
- Clone this repo using this command:
git clone https://github.com/Miguelus373/Ruby-Tic-Tac-Toe.git
Mac/Linux:
- Go into the repo folder
- And into the bin Folder
- Run this command:
chmod 755 main.rb
Local:
Run this command bin/main.rb
OnLine: Go to this live demo and click Run.
- Use the numbers on the board to select where to make your move (1 - 9)
- If you select a diferent character or number that is not on the board, you will see a warning message
👤 Carlos Flores Robles
- Github: @carlos-ssh
- Twitter: @aom.robles
- Linkedin: linkedin
👤 Miguel Uzcátegui
- Github: @miguelus373
- Linkedin: Miguel-Uzcátegui
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.