Skip to content

kobiyoyo/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe (Advanced OOP)

This project implements advanced object oriented programming concepts to build a simple Tic Tac Toe game played on the Command Line Interface (CLI)

This project was completed in line with standards provided by Microverse.

Demo

Game Rule

Tic Tac Toe is a paper-and-pencil game for two players, using X and O marks.

Players take turns marking the spaces in a 3×3 grid.

The player who succeeds in placing three of their marks in a

horizontal, vertical, or diagonal row wins the game.

See Game Rules & Strategy.

Technologies

  • Ruby
  • TDD

Dependencies

Execution file location

./bin/main.rb

Library files location

./lib/board.rb
./lib/game.rb
./lib/player.rb
./bin/game_cli.rb

Installation / Usage

Clone the repository to your local machine

$ git clone https://github.com/kobiyoyo/Tic-Tac-Toe.git

Go to the directory

$ cd tic-tac-toe

Go to the execution file directory

$ cd bin

Run the file

$ ruby main.rb

Follow the instructions provided by the Game.

Authors

👤 Adama Chubiyojo Desmond

👤 Danilo Zagarcanin

Contributing

  1. Fork it (https://github.com/kobiyoyo/Tic-Tac-Toe/fork)
  2. Create your feature (dev) branch (git checkout -b feature/[choose-a-name])
  3. Commit your changes (git commit -m 'What this commit will fix/add')
  4. Push to the branch (git push origin feature/[chosen name])
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages