Skip to content

A classical 3x3 two-player board game where the first player to garner three similar symbols on a straight line wins

Notifications You must be signed in to change notification settings

Leon-Mbegera/tic.tac.toe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Ruby's Tic Tac Toe is a classic 3x3 game built with ruby and the usage of object oriented programming,

screenshot

Built With

  • Ruby

Getting Started

  • Clone the repo by running git clone https://github.com/Solenka1/tic.tac.toe Or download the zip folder
  • Run cd tic_tac_toe in the terminal
  • Make sure you have ruby installed locally run ruby -v
  • To start the game run bin/main in the terminal

Game Instructions

  1. The game is played on a 3xs display grid
  2. Player one is assigned 'X' while player two is assigned 'O'.
  3. Players take turns putting their markers in the place of numbers in the grid
  4. The first player to get 3 of the same markers in a row (up, down, across, or diagonally) is the winner.
  5. When all 9 positions are replaced with the markers, the game is over. If no player has 3 marks in a row, the game ends in a draw

Authors

👤 Gorgi Mitev

👤 Leon Mbegera

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse
  • The Odin Project

📝 License

This project is MIT licensed.

About

A classical 3x3 two-player board game where the first player to garner three similar symbols on a straight line wins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%