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
A 5-minute daily game that trains you to spot AI-generated images, voices and videos.
GamesTypeScript · PythonGitHub @lalamansinghOnlineOwner 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
AI fakes now fool most people, yet few have ever practised spotting them. Real or Rendered? is a 5-minute daily game where players judge if images, voices and videos are real or AI-made, then learn the clues they missed.
Taken from the repository README
Loading the full README.
Read the full README ↗A 5-minute daily game that trains people to spot AI-generated images, voices and videos. Built for the Sopra Steria International Student Challenge 2026–2027 (cognitive stream: understanding and detecting digital risks).
Players see a media item, decide Real or Rendered (AI-made) and say how sure they are. The game then reveals the clues they missed (highlighted on the image), where the item comes from, and — at the end of the round — how well their confidence matched their accuracy.
| Part | Where | What it does |
|---|---|---|
| Player app | /, /play, /spot, /practice, /progress, /join, /check/* | Anonymous play, daily rounds, Spot the fake (find the odd one out in a grid of four), practice, clue reveal, calibration feedback, streaks, class join, starting/final checks |
| Teacher dashboard | /teacher | Classes with join codes, class accuracy over time, hardest clue types, pre/post assessment, students table |
| Admin content studio | /admin | Upload media, label it, draw clue regions, record source and licence, review and publish |
| API | src/app/api/** | Typed, validated JSON API (docs/API.md) |
| Learning engine | src/lib/server/engine.ts | Elo ratings per clue kind, adaptive item selection, spaced review, scoring, Brier/calibration, streaks |
Stack: Next.js 15 (App Router) · React 19 · TypeScript (strict) · Tailwind CSS 4 · Drizzle ORM · PostgreSQL (embedded PGlite locally) · zod · jose (JWT sessions) · bcrypt · sharp · Vitest · Playwright.
Requirements: Node.js 20.9+ (22 recommended). Nothing else — the database is embedded.
npm install
cp .env.example .env.local # optional locally; set ADMIN_EMAIL / ADMIN_PASSWORD
npm run db:seed # creates the admin account and loads the content library
npm run dev # http://localhost:3000
.env.local, or register as a teacher)
npm run db:seedreadsADMIN_EMAILandADMIN_PASSWORDfrom the environment. With.env.localrun it asnpx dotenv -e .env.local -- npm run db:seed, or simply:[email protected] ADMIN_PASSWORD='a-long-password' npm run db:seed
Local data lives in .data/ (database and uploads). Delete the folder to start fresh.
npm run check # typecheck + lint + unit & integration tests
npm test -- --coverage # coverage report (server code)
npm run content:validate # content library: schema, files, balance, assessment sets
npm run build # production build
npm run test:e2e # end-to-end tests in a real browser (after `npm run build`; starts the app on a fresh database)
CI runs all of these on every push and pull request (.github/workflows/ci.yml).
provenanceNote). The starter library comes from Wikimedia Commons; see
content/CONTENT_SOURCES.md. Clues were drafted with AI and are
marked needs review until your team checks them in the studio.Signed httpOnly SameSite cookies (HS256 JWT) · bcrypt (cost 12) with timing-safe login · role checks on every staff endpoint (re-read from the database) · zod validation on every input · same-origin checks on all writes · per-IP/per-user rate limits · strict Content-Security-Policy and security headers · upload type detection by file bytes, size limits, metadata stripping · database CHECK and unique constraints as a second line of defence.
src/
app/ pages (player, staff) and API routes
components/ ui.tsx (shared), player/, staff/
db/ schema.ts, client.ts (PostgreSQL or embedded PGlite)
lib/contracts.ts shared API types and zod schemas
lib/server/ engine, rounds, players, classrooms, items, storage, auth, http, rate-limit
drizzle/ SQL migrations
content/seed/ starter content library (items.json) — media in public/media/items/
scripts/ migrate, seed, validate-content
tests/ unit, integration (API against a real Postgres engine), e2e (Playwright)
docs/ API.md, DEPLOY.md
See docs/DEPLOY.md — Vercel + Neon, or Docker on any server.