Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
Turn any image into a jigsaw puzzle and solve it live with a friend.
GamesTypeScript · JavaScriptGitHub @MammomanOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Turn any image into a jigsaw puzzle and solve it live with a friend. Next.js 16 + React 19 on the front, Supabase (Storage, Postgres, Realtime) on the back — there is no custom server.
Create .env.local with your Supabase project's origin and anon key:
Use the bare origin — not the /rest/v1 URL the dashboard shows. (The client strips any path just in case.)Read the full README ↗Turn any image into a jigsaw puzzle and solve it live with a friend. Next.js 16 + React 19 on the front, Supabase (Storage, Postgres, Realtime) on the back — there is no custom server.
npm install
npm run dev
Create .env.local with your Supabase project's origin and anon key:
NEXT_PUBLIC_SUPABASE_URL=https://<project-ref>.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=<anon key>
Use the bare origin — not the /rest/v1 URL the dashboard shows. (The client strips any path just in case.)
puzzle-images, with an insert policy for anon. Set a file-size limit on the bucket (the client downsizes to 2048px, but the bucket should enforce its own cap).puzzles table from DESIGN_AND_IMPLEMENTATION.md §4.1, with select and insert policies for anon.| Path | Role |
|---|---|
src/app/page.tsx | Upload + piece count → Storage + puzzles row → redirect to /play/<id> |
src/app/play/[puzzleId]/page.tsx | Loads the puzzle, name prompt, lobby, mounts the game |
src/components/canvas/Stage.tsx | Canvas engine: pieces, drag/pan/zoom, snapping |
src/stores/usePuzzleStore.ts | Zustand state; auto-saves to IndexedDB |
src/hooks/usePuzzleMultiplayer.ts | Supabase Realtime relay (cursors, moves, merges, board sync) |
src/utils/boardGenerator.ts | Deterministic tabs + scatter from the puzzle seed |
Every client generates the same starting board from the seed stored in the puzzles row; afterwards moves are relayed peer-to-peer as absolute positions, and anyone joining late asks the room for a snapshot.