Real-time multiplayer game using Seniman Javascript Framework.
Messages are stored in server memory and synced with client with Valtio. Leaderboard data stored in Supabase.
Copy your <supabase_url>
& <supabase_key>
from Supabase
Create new table leaderboard
in Supabase, add fields:
player
(text) as primary keyscore
(int8)
npm run watch
npm run style
SUPABASE_URL=<supabase_url> SUPABASE_KEY=<supabase_key> npm start
The easiest way to deploy is using Fly
Add Supabase url and key as flyctl secrets
flyctl deploy