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
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證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.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 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.