https://github.com/wintercore/microverse-tic-tac-toe-js
A simple Tic Tac Toe game implemented in Javascript
https://github.com/wintercore/microverse-tic-tac-toe-js
hacktoberfest tic-tac-toe
Last synced: about 1 year ago
JSON representation
A simple Tic Tac Toe game implemented in Javascript
- Host: GitHub
- URL: https://github.com/wintercore/microverse-tic-tac-toe-js
- Owner: WinterCore
- Created: 2020-10-12T20:21:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T11:17:15.000Z (over 5 years ago)
- Last Synced: 2025-02-14T20:31:36.529Z (over 1 year ago)
- Topics: hacktoberfest, tic-tac-toe
- Language: JavaScript
- Homepage: https://wintercore.github.io/microverse-tic-tac-toe-js/
- Size: 210 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TIC TAC TOE
> This is a simple Tic Tac Toe game implemented to demonstrate the use of javascript for interactivity and responsiveness in making a functioning game as follows:
1. The game is played on a grid that's 3 squares by 3 squares.
2. Player 1 is X, Player 2 is O. Players take turns putting their marks in empty squares.
3. The first player to get 3 marks in a row (up, down, across, or diagonally) is the winner.
4. When all 9 squares are full without a winner, the game is a draw.

## Built With
- JavaScript
- HTML
- CSS
## [Live demo](https://wintercore.github.io/microverse-tic-tac-toe-js)
## How to run locally
- Install [Node.js](https://nodejs.org/en/download/)
- Clone this repository by running `git clone https://github.com/WinterCore/microverse-tic-tac-toe-js`
- Change your current working directory to the project `cd microverse-tic-tac-toe-js`
- Run `npm install`
- Run `npm start`
- Enjoy
## How to run the tests
- Follow the first 4 steps of the [section above](#how-to-run-locally)
- Run `npm run test`
Note: The tests reside inside of the `tests` folder.
## Authors
👤 Hasan Kharouf
- Github: [@WinterCore](https://github.com/WinterCore)
👤 Paul Omondi
- Github: [@paulo-techie](https://github.com/paulo-techie)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Thanks to Microverse and the wonderful reviewers who have guided us to the completion of this project
## 📝 License
This project is [MIT](lic.url) licensed.