NEONGRID

a serverless p2p light-cycle arena — this page is also the git repo.

ride the grid clone the repo

Clone

This site serves the repository over git's dumb-HTTP protocol as plain static files (it's hosted on IPFS — there is no git server here, or any server at all):

git clone https://git-game1.ardegazu.ro/neon-grid.git
cd neon-grid

What it is

Tron-style multiplayer for up to 16 riders. Everyone rides a light cycle on a shared 128×96 grid, leaves a solid trail, and the last rider alive wins the round; first to 5 rounds takes the match. Installable PWA — works saved to an iOS home screen, safe-area aware, tap-to-steer on phones.

How it works

What's in the repo

client/src/game/ — the game

TypeScript, no framework: typed wire protocol, host simulation, canvas renderer (neon trails, derez, particles), WebAudio bleeps, lobby UI.

client/src/lib/ — the p2p core

sueta's reusable app-agnostic stack, vendored unchanged. If you want to build your own p2p app, start from its README.md.

deploy/ — the publish pipeline

publish-repo.sh builds this very site: landing page + bare mirror exploded to loose objects (IPFS gateways and git's dumb-HTTP protocol agree on "every path must exist"), with an anonymity gate that refuses to publish identity-bearing bytes.

Run it yourself

cd client && npm install && npm run dev   # :4173
# open two tabs on the same #room URL and play yourself

Deploy: npm run build, then publish client/dist/ as static files anywhere — IPFS, a CDN, a folder behind nginx. It needs nothing but a signaling relay it's allowed to talk to (see src/game/config.ts).

Guarantees & limits, honestly