LOWKEY MULTIPLAYER SUITE · CLOUDFLARE PAGES + D1 DB · P2P TURN · PORT-443 RELAY
Your browser runs the game server. Friends join from anywhere via code.
Works over WebRTC TCP/443 TURN, Port-443 WSS Relay, or local Wi-Fi.
Extra winning chips banked after paying off Loan Shark debt are saved permanently in the server database.
Run this single command in your project folder to automatically create the free Cloudflare D1 SQL Database (loki-table-db), apply schema.sql, bind it to functions/api/account.js, and deploy your permanent site to Cloudflare Pages:
npm run deploy:cloudflare
Cloudflare hosts the permanent website & server database at https://loki-table.pages.dev, while whoever clicks HOST ROOM runs the live table from their browser.
When friends join your 6-character Room Code on your Cloudflare Pages site, LOKI // TABLE automatically connects across restricted networks using: