Skip to content

(Collaborative)TicTacToe is a 3x3 grid dual player game that assigns symbols(Xs, Os) to players. The final outcome is either a tie or a win. There are 8 possible winning combinations from a player, the player can win by making 3 consecutive moves either vertically, horizontally or diagonally. A player has a maximum of 5 possible moves.

License

Notifications You must be signed in to change notification settings

Haroonabdulrazaq/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

View Code Github Issues GitHub Pull Requests

Content

About   |    Rules   |    Built with   |    Set-up   |    Live Demo   |    Author

About

TicTacToe is a 3x3 grid dual player game that assignes symbols(Xs,Os) to players. The final outcome is either a tie or a win. There are 8 possible winning combinations from a player, player can win by making 3 consecutive moves either vertically, horizontally or diagonally. A player has maximum of 5 possible moves.

Rules

  • Players have to enter a name
  • The system assignes a symbol(X or O) to player
  • The player can make moves by pressing a number (of choice) on his/her keyboard
  • The position a player is choosing should not have been taking
  • The move made by a user should be a number otherwise its an invalid move
  • A player can win by making three consecutive moves vertically, horizontally or diagonally
  • If all position has been taken and there is no winner then its a tie(draw) For more detailed information on the game rules click here

🔧 Built with

  • Ruby

🔴 Live Demo

Run on Repl.it

🔨 Setup

✒️ Authors

👤 Haroon Abdulrazaq

👤 Rumbidzayi Mudziviri

👤 Hubert MUGABO

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the fork this repo and create pull request if you want to make changes.

👍 Show your support

Give a ⭐️ if you like this project!

👍 Acknowledgements

Muhammad Talha Waqar

About

(Collaborative)TicTacToe is a 3x3 grid dual player game that assigns symbols(Xs, Os) to players. The final outcome is either a tie or a win. There are 8 possible winning combinations from a player, the player can win by making 3 consecutive moves either vertically, horizontally or diagonally. A player has a maximum of 5 possible moves.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages