Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teekaytech/tic-tac-toe-js
A popular TicTacToe game where players can continue playing after each round and the winner of each round is being stored until the game is reloaded. Built with JavaScript.
https://github.com/teekaytech/tic-tac-toe-js
babel javascript jest unit-testing
Last synced: 23 days ago
JSON representation
A popular TicTacToe game where players can continue playing after each round and the winner of each round is being stored until the game is reloaded. Built with JavaScript.
- Host: GitHub
- URL: https://github.com/teekaytech/tic-tac-toe-js
- Owner: teekaytech
- Created: 2020-09-05T05:49:19.000Z (over 4 years ago)
- Default Branch: development
- Last Pushed: 2020-09-29T07:42:29.000Z (over 4 years ago)
- Last Synced: 2024-12-06T03:52:35.289Z (about 1 month ago)
- Topics: babel, javascript, jest, unit-testing
- Language: JavaScript
- Homepage: https://rawcdn.githack.com/teekaytech/Tic-Tac-Toe-JS/666767bd321c87d28750ee236905de32a1627c83/index.html
- Size: 130 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe (JavaScript)
> A tic tac toe game built with Vanilla JavaScript. This is a game played by two players (with each player represented by the first character of their names respectively on the game board.) A winner is determined when one of the users has successfully placed his/her mark on a straight line (either diagonal, vertical or horizontal).
![screenshot](assets/screenshot.png)
## Built With
- JavaScript
- ESLint / Stlylelint
- Babel
- NPM
- Jest (Unit Testing)## Live Demo
## Getting Started
To get a local copy up and running follow these simple example steps.
- On the project GitHub page, navigate to the main page of the repository [this page](https://github.com/teekaytech/Tic-Tac-Toe-JS.git).
- Under the repository name, locate and click on a green button named `Code`.
- Copy the project URL as displayed.
- If you're running Windows Operating System, open your command prompt. On Linux, Open your terminal.
- Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
- Type `git clone`, and then paste the URL you copied in Step 3.
`$ git clone https://github.com/teekaytech/Tic-Tac-Toe-JS.git`
- Press Enter. Your local copy will be created.Please Note that you must have github installed on your PC, this can be done [here](https://gist.github.com/derhuerst/1b15ff4652a867391f03).
### Prerequisites
Web browser (Chrome/Firefox)
### Usage
Start the app by copying and pasting the absolute path of the index file to your browser, then click on enter.
### Running the Test Suites
The dependencies required to run the test suites are Babel and Jest, which both depends on Node package manager (NPM)
- Open the project root directory in your terminal.
- Run `npm install` to install the dependencies.
- run `npm test` to run the test suites.## Author
👤 **Taofeek Olalere**
- Github: [@teekaytech](https://github.com/teekaytech)
- Twitter: [@ola_lere](https://twitter.com/ola_lere)
- Linkedin: [olaleretaofeek](https://linkedin.com/in/olaleretaofeek)## 🤝 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
- [Microverse](https://.microverse.org/)
- [The Odin Project](https://www.theodinproject.com/courses/javascript/lessons/tic-tac-toe-javascript)## 📝 License
This project is [MIT](lic.url) licensed.