Tic Tac Toe with offline and multiplayer support.
This simple game is an example of Service Workers and Web Push API usage.
Uses oghliner for offline support and the web-push library to connect the application server to the push server.
npm install
gulp
- Start the Node.js server by running
node server.js
- Serve the dist/ directory via an HTTP server (or simply open https://marco-c.github.io/tictactoe/).
- Open the app with two different browsers to try a multiplayer game or use the
client.js
CLI tool to simulate an opponent.