https://github.com/hungrybluedev/hbd-tictactoe
The classic game TicTacToe playable on your browser! https://hungrybluedev.github.io/hbd-tictactoe/
https://github.com/hungrybluedev/hbd-tictactoe
Last synced: about 1 year ago
JSON representation
The classic game TicTacToe playable on your browser! https://hungrybluedev.github.io/hbd-tictactoe/
- Host: GitHub
- URL: https://github.com/hungrybluedev/hbd-tictactoe
- Owner: hungrybluedev
- License: mit
- Created: 2020-07-05T11:19:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T05:23:35.000Z (almost 6 years ago)
- Last Synced: 2025-02-14T18:36:25.011Z (over 1 year ago)
- Language: TypeScript
- Size: 182 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TicTacToe!
The classic game TicTacToe playable on your browser! ([Link](https://hungrybluedev.github.io/hbd-tictactoe/))
It'll work on all devices and all operating systems. It is also installable through Chrome, Edge, and all major browsers that support Progressive Web Apps.
# Works Offline
## Installable
Open the website on your browser. If you go to the tools menu (or something similar), you should be able to find options such as _Install this website as an App_, or _Add App to Home Screen_. These options will install the app on your device and will it will run like a newa-native application.
## Use a Service Worker
I've included a service worker that uses the _offline-first paradigm_.
This causes the page to look for resources in the cache at first.
If the resource requested is not present, we fall back to using the network.
Now, I've listed all the items necessary in the list of resources to cache.
So ideally, it should be able to load the page only once and then have it work offline.
## Troubleshooting
If you're missing any new feature that I've added, try clearing your history and cache.
The site should redownload and work as intended.
If it still doesn't work, contact me [@hungrybluedev](https://twitter.com/hungrybluedev/).
# Progress
- [ ] Core functionality
- [x] Basic Design
- [x] Core Game Logic
- [x] Fix Input Mapping for Touch
- [x] Info Button
- [ ] CPU player
- [ ] Add Particle Effects to the End Screen
- [x] Progressive Web App
- [x] Works Offline
- [x] Has an App Manifest
- [x] Has Icons
- [x] Remove Old Caches on Version Update
# License
Copyright © Subhomoy Haldar - Hungry Blue Dev
Licensed under the [MIT License](LICENSE).
# Support
You can buy me a coffee at [Ko-fi](https://ko-fi.com/hungrybluedev).
You can support me on [Patreon](https://www.patreon.com/bePatron?u=24185563) on a monthly basis.