MMA LiveSim
Free UFC DFS optimizer and MMA fight simulator for DraftKings. Live win probabilities for every lineup, plus post-contest EV, ownership, and optimal lineups.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證HFA for sports competititons
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A web app for running 1v1 NHL pick'em competitions with a friend. Each night
of the slate you take turns drafting which game's winner you're picking, with
a snake-style draft order that keeps things fair across the week or season.檢視完整 README ↗A web app for running 1v1 NHL pick'em competitions with a friend. Each night of the slate you take turns drafting which game's winner you're picking, with a snake-style draft order that keeps things fair across the week or season.
This first version supports:
You'll need three free accounts:
If you already have the project folder ("Home Field Advantage"), open a terminal there:
cd "Home Field Advantage"
npm install
supabase/schema.sql from this project, paste its entire contents into the editor, and click Run.https://abcd1234.supabase.co)http://localhost:3000 for now. We'll change it to your Vercel URL after deploying.In the project folder, copy the example env file:
cp .env.example .env.local
Then open .env.local and fill in:
NEXT_PUBLIC_SUPABASE_URL=<your project URL from step 2.6>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your anon public key from step 2.6>
NEXT_PUBLIC_SITE_URL=http://localhost:3000
Then start the dev server:
npm run dev
Open http://localhost:3000 in your browser. Sign in with Google, create a competition, and copy the invite link to share with a friend.
.env.local. For NEXT_PUBLIC_SITE_URL, use your future Vercel URL — Vercel tells you what it'll be (something like https://home-field-advantage.vercel.app).https://your-app.vercel.app and https://your-app.vercel.app/auth/callback.)That's it. Send the URL to a friend, both of you sign in with Google, create a competition, and start picking.
For a competition longer than one day, on each night of the slate:
The logic lives in lib/picks.ts and is unit-tested in lib/picks.test.ts
(npm test runs them).
app/
page.tsx Landing + your competitions list
login/ Google sign-in page
auth/callback/ OAuth callback that swaps the code for a session
auth/signout/ Sign-out POST endpoint
competitions/new/ "Create a competition" form
competitions/[id]/ The competition room — pick UI
join/[token]/ Joining via shareable invite link
api/competitions/[id]/picks/ Server-validated pick submission
api/competitions/[id]/score/ Walks pending picks and scores them
lib/
picks.ts Snake-draft logic (the heart of the app)
picks.test.ts Unit tests for the draft logic
nhl.ts Public NHL API wrapper
supabase/client.ts Browser-side Supabase client
supabase/server.ts Server-side Supabase client
supabase/
schema.sql Database schema + RLS policies
middleware.ts Refreshes Supabase session cookies
npm test
This runs lib/picks.test.ts, which validates the draft order generator
against every edge case described in the spec.