Skip to content

MuriloRoque/tic_tac_toe_game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hire-badge Twitter Follow

hire-badge Twitter Follow

TIC-TAC-TOE

This project is tic tac toe game developed using ruby language.

screenshot

Instructions and Game rules

Instructions

  • Execute main.rb file from bin directory.
  • Enter your names and symbols.
  • Enter number from 1-9 according to game rules.

Game Rules

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

  • You can choose from two symbols either 'X' or 'O', your friend will automatically allocated remaining symbol. Players take turns putting their marks in empty squares.

  • The first player to get 3 of her 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 draw.

Built with

Ruby

Live Demo

Click to see on repl.it

Getting Started

Clone or fork the repository. Execute main.rb file

Author 1

Murilo Roque Paiva da Silva

Github: @MuriloRoque

Twitter: @MuriloRoquePai1

Linkedin: MuriloRoque

Author 2

Shabab Ali

Github: @alishabab

Twitter: @shabab_ali

Linkedin: https://www.linkedin.com/in/shababsaifi/

🤝 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 to the development branch of the original project for a review

Show your support

Give a ⭐️ if you like this project!

About

This project is a tic tac toe game. You can play it online.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 100.0%