/Tic-Tac-Toe-JS

Classic game tic-tac-toe built with JavaScript for browser. Collaborative project inside Microverse's curriculum.

Primary LanguageJavaScriptMIT LicenseMIT

Contributors Forks Stargazers Issues Hireable

Tic Tac Toe

You can play tictactoe in our website with only build Javascript.

screenshot

Additional description about the project and its features.

Built With

  • HTML
  • CSS
  • JAVASCRIPT
  • JEST
  • BOOTSTRAP

Live Demo

Live Demo Link

Instructions to Play

  • Introduce the name of the players.

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

Getting Started

Usage

  • Click the Live Demo link and enjoy our playing Tic Tac Toe.

Prerequisites

  • A modern browser, up to date.

Setup

  • Clone the repository on your local machine
  • Cd into the folder
  • Run npm install

Run tests

  • Run npm test on the root directory to run all the tests.
  • Run npm test testfile.test.js on root directory to run test for a single file.

Future features

  • Create a AI to play with.

Authors

👤 Javier Oriol Correas Sanchez Cuesta

👤 Kubilay Caglayan

🤝 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

  • The Odin Project
  • Microverse

📝 License

This project is MIT licensed.