/Tic-Tac-Toe-Microverse.

Create a Tic Tac Toe game with UI with Ruby.

Primary LanguageRuby

Tic-Tac-Toe

This project was dived into 4 different milestones each one intended to make us practice different things on Ruby but the main topic to learn was OOP (Object Oriented Programming).

Screenshot showcasing the gameplay.

Built with:

  • Ruby
  • Rubocop

Milestones:

  • Setup
  • User interface
  • Game logic
  • Instructions for players

Basic game rules:

  1. The game is played on a grid that's 3 squares by 3 squares.
  2. Players take turns putting their marks in empty squares.
  3. The first player to get 3 of 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 tie.

Steps for you to play our game:

  • Clone this repository by opening your terminal and run: git clone
  • Then run move to where the main is located by running: cd ..Tic-Tac-Toe-Microverse/bin
  • Finally just run the main file using: ruby main
  • Enjoy out Tic Tac Toe made with Ruby.

Authors

👤 Samuel Almao

👤 Adan Fernandez

Contributing

Bug reports and pull requests are welcome on GitHub at this

License

The gem is available as open source under the terms of the MIT License.