Skip to content

SpaYco/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Project

We built a tic-tac-toe game on the command line where two human players can play against each other and the board is displayed in between turns. It was made as a collaborative project in Ruby using OOP concepts

What it does

Two human players can play to Tic-Tac-Toe board game

Built With

Ruby VSCode

Getting Started

To get a local copy up and running follow these simple example steps.

Clone the project unto your local machine cd to the folder and run "start_game.rb" on your terminal

Instructions to Play

  • The game is played on a grid that's 3 squares by 3 squares.

  • You are X, your friend is O. Players take turns putting their marks in empty squares.

  • The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.

  • 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.

Prerequisites

  • Get ruby latest version installed

Install

  • Install VSCode or any code editor you like
  • Install Node JS and NPM(most recent versions)

Authors

👤 SpaYco

👤 Javier Oriol Correas Sanchez Cuesta

🤝 Contributing

Contributions, issues, and feature requests are welcome! Start by:

  • Forking the project
  • Cloning the project to your local machine
  • cd into the project directory
  • Run git checkout -b your-branch-name
  • Make your contributions
  • Push your branch up to your forked repository
  • Open a Pull Request with a detailed description of the development branch of the original project for a review

Attributions and Credit

🚀

Show your support

Give a ⭐️ if you like this project!

📝 License

Check out my stories on medium to see what I'm talking about! Follow me on Instagram and Twitter to see what I am up to!

Enjoy!

About

A Tic-Tac-Toe Game Using Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages