An open API service indexing awesome lists of open source software.

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/

Awesome Lists containing this project

README

          



TicTacToe logo




GitHub deployments - GitHub Pages
GitHub code size in bytes
Under MIT License on GitHub


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




A Screenshot of the TicTacToe App


# 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).

Buy Me a Coffee at ko-fi.com

You can support me on [Patreon](https://www.patreon.com/bePatron?u=24185563) on a monthly basis.


Support me on Patreon!