A global, real-time multiplayer TicTacToe game for Deno 🦕
This is a global, real-time multiplayer Tic-Tac-Toe game written in Deno. It persists game states in a Deno KV store, and synchronizes game state between clients using BroadcastChannel.
This project is hosted on Deno Deploy:
You can try out the game at https://tic-tac-toe-game.deno.dev
To develop locally, you must create a GitHub OAuth application and set the
following environment variables in a .env
file:
GITHUB_CLIENT_ID=...
GITHUB_CLIENT_SECRET=...
You can create a GitHub OAuth application at
https://github.com/settings/applications/new. Set the callback URL to
http://localhost:8000/auth/oauth2callback
.
You can then start the local development server:
deno task start