Skip to content

ahmetbozaci/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

In this project, we built tic tac toe game from scratch using Ruby progamming language, the project is a requirement in Microverse technical curriculum.

Game rules and instructions

This game is simple and very popular, it's played by two players, each one gets a distinguished symbol (usually X or O). The objective for each player is to place own sybmol on three squares that comprise a straight line. The line may be horizontal, vertical or diagonal. Whoever acheives this goal first wins. In case of all the squares get occupied without any player winning, it's called a tie or draw.

After every tie or winning, the game will give option to play again or quit by prompting the player to enter Y or N respectivly

Screenshots

How to start the game:

You can either play the game online by clicking on the link below:

Link: Live Demo Link

or you can play it on your computer by following these steps:

  1. Download the repository from this link
  2. Unzip the files
  3. Open the command prompt or terminal and browse to folder containing main.rb file
  4. Type ruby main.rb
  5. Press enter

🔨 Built With

  • Ruby
  • Atom
  • VScode
  • Rubocop

👤 Worked on this challenge:

Rayan Rassam

Ahmet Bozacı

Credits

The project is part of Microverse Technical curriculum - Ruby section

Contribution

Feedbacks, issues or feature requests are welcomed! Please follow this link to create an issue Link and help me improve!

Releases

No releases published

Packages

No packages published

Languages