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를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A Next.js 14 app that lets authenticated users drag & drop football players into S/A/B/C/D tiers and save their rankings to Supabase.
All dependencies are open-source.
1. Go to supabase.com and create a new project.
2. In the Supabase Dashboard → SQL Editor, paste and run the contents of supabase/schema.sql.
This creates the three tables, seeds the default topic + 12 players, and sets up Row Level Security.
Edit .env.local and fill in your values from Supabase Dashboard → Settings → API:
5. Configure the Supabase Auth redirect URLREADME 전문 보기 ↗A Next.js 14 app that lets authenticated users drag & drop football players into S/A/B/C/D tiers and save their rankings to Supabase.
| Layer | Technology |
|---|---|
| Framework | Next.js 14 (App Router, TypeScript) |
| Auth & DB | Supabase (Auth + PostgreSQL) |
| Drag & Drop | @dnd-kit/core + @dnd-kit/sortable |
| Styling | Tailwind CSS v3 |
All dependencies are open-source.
git clone <your-repo>
cd tierlist-app
npm install
supabase/schema.sql.
This creates the three tables, seeds the default topic + 12 players, and sets up Row Level Security.cp .env.local.example .env.local
Edit .env.local and fill in your values from Supabase Dashboard → Settings → API:
NEXT_PUBLIC_SUPABASE_URL=https://xxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
NEXT_PUBLIC_APP_URL=http://localhost:3000
In Supabase Dashboard → Authentication → URL Configuration:
http://localhost:3000http://localhost:3000/auth/callbackFor production, add your live domain instead.
npm run dev
Open http://localhost:3000 – you'll be redirected to /auth to sign up or log in.
tierlist-app/
├── app/
│ ├── layout.tsx # Root layout + global CSS
│ ├── page.tsx # Redirects to /auth or /tierlist
│ ├── globals.css # Tailwind directives
│ ├── auth/
│ │ ├── page.tsx # Login / sign-up page (Server Component)
│ │ └── callback/route.ts # Supabase OAuth/magic-link callback
│ ├── tierlist/
│ │ └── [topic]/page.tsx # Tierlist page (Server Component, fetches data)
│ └── api/
│ ├── auth/signout/route.ts # POST → sign out
│ └── tierlist/
│ ├── save/route.ts # POST → save rankings
│ └── [topic]/route.ts # GET → fetch topic + players + rankings
├── components/
│ ├── AuthForm.tsx # Sign-in / sign-up form (Client Component)
│ ├── TierlistBoard.tsx # Main DnD board (Client Component)
│ ├── TierRow.tsx # One S/A/B/C/D row (droppable)
│ └── PlayerCard.tsx # Draggable player card
├── lib/
│ ├── types.ts # Shared TypeScript types & constants
│ └── supabase/
│ ├── client.ts # Browser Supabase client
│ ├── server.ts # Server Supabase client (RSC / API routes)
│ └── middleware.ts # Session-refresh helper for middleware
├── middleware.ts # Next.js middleware (auth guard + session refresh)
├── supabase/schema.sql # Full DB schema + seed data
└── .env.local.example # Environment variable template
Browser Server
─────── ──────
/auth page (Server Component)
└─ renders <AuthForm /> ──────────────── Client Component
│ supabase.auth.signInWithPassword()
│ (direct browser → Supabase)
└─ router.refresh() ──────────────► triggers Server Component re-render
→ redirects to /tierlist/[topic]
/tierlist/[topic] (Server Component)
├─ createClient() (server) ──────────── reads session from cookie
├─ fetches topic, players, rankings from Supabase
└─ renders <TierlistBoard /> ─────────── Client Component
│ Local state: tierMap (player positions)
│ DnD events update tierMap in real-time
│
└─ "Save Rankings" button
fetch POST /api/tierlist/save
│
└─ Route Handler (Server)
├─ validates auth + payload
├─ DELETE old rankings
└─ INSERT new rankings
| Decision | Reason |
|---|---|
| Server Components for data fetching | Zero client-side loading state; SEO-friendly |
| Client Component for drag & drop | DnD requires browser events (pointer, touch) |
| Delete-then-insert save strategy | Simpler than row-level upserts when tier assignments change |
UNIQUE (user_id, topic_id, player_id) DB constraint | Server-side guarantee a player can't be in two tiers |
@dnd-kit instead of react-beautiful-dnd | Active maintenance, accessible, supports touch |
@supabase/ssr instead of legacy auth-helpers | Official, cookie-based, works with Next.js App Router |
tierlist_topics (id, slug, title, description, created_at)
tierlist_players (id, topic_id → topics, name, position, club, image_url, created_at)
tierlist_rankings (id, user_id → auth.users, topic_id → topics, player_id → players,
tier CHECK IN ('S','A','B','C','D'),
UNIQUE(user_id, topic_id, player_id))
Row Level Security ensures each user can only read and write their own rankings. Topics and players are publicly readable.
tierlist_topics with a unique slug.tierlist_players referencing that topic_id./tierlist/<your-slug>.npm run build # verify the build passes locally first
.env.local in Vercel's project settings.https:// production domain.