⛳ The Saturday Game
ADMIN
The Saturday Game
⚙️ Setup Required

Open Saturday_Game.html in a text editor and fill in your Supabase URL and anon key at the top of the script section. See README.md for instructions.

No game is set up yet.

Markets
Betting is closed — round in progress.
Round settled. Check the Settlement tab.
Leaderboard
# Player Gross Net
Teams
Settlement
Season Standings
How It Works
The Saturday Game

Every round is a parimutuel betting pool — think horse racing, not Vegas. All bets go into a shared pool per market. If your pick wins, you split the entire pool proportionally with other backers of the winner(s). No house edge, no bookmaker — just you vs. the boys.

Stakes: Each bet must be between the round's min ($5 default) and max ($200 default). You can place multiple bets on different picks within the same market.
🏇 Win / Place / Show

Three separate pools based on net score (gross minus handicap):

🥇 Win
Pays if your player finishes 1st in net score. Entire pool split among backers of the winner.
🥈 Place
Pays if your player finishes 1st or 2nd. Pool split among backers of the top 2 finishers.
🥉 Show
Pays if your player finishes top 3. Pool split among backers of the top 3 finishers.

Each pool is independent — you can bet on one, two, or all three. Ties share the position.

⛳ Low Gross

Pick the player who shoots the lowest gross score (no handicap applied). The raw ball-striker's bet — handicap doesn't help here. Whole pool goes to backers of the low gross winner.

🤝 Team Match Play

Players are split into teams before the round. Pick which team you think wins. The winning team is determined by the admin after the round (usually based on combined net score or match play format). Pool split among backers of the winning team.

🏆 Net Skins

Pick any player you think will win at least one validated net skin during the round.

How it works
A "skin" is won when a player has the lowest net score on a hole outright (no ties). If two or more players tie for the low net on a hole, the skin carries over to the next hole.
Payouts
After the round, any player who won 1 or more skins is a winner. The entire pool is split proportionally among the backers of all winning players. It doesn't matter how many skins your player won — just that they got at least one.
Example
Pool = $500. Mike bets $50 on Player A, Joe bets $100 on Player A, Dave bets $50 on Player B. Players A and B both win skins. Total bet on winners = $200. Mike gets ($50/$200) × $500 = $125. Joe gets ($100/$200) × $500 = $250. Dave gets ($50/$200) × $500 = $125.
💰 Payout Formula
Your Payout = (Your Bet ÷ Total Bet on Winners) × Pool

If nobody bet on the winning pick, all bets in that market are refunded. The "implied odds" shown next to each pick update in real time as bets come in — a pick with fewer backers pays more if it wins.

✈️ Flights (Tournament Mode)

For bigger groups, the admin can split players into flights. Each flight gets its own Win/Place/Show pools. Skins and Team Match are always overall (not per-flight). The admin can also add overall markets in addition to flight markets.

🏇 Win / Place / Show
Parimutuel pools — Win=1st, Place=top 2, Show=top 3
Enable Tournament Mode
📋 Import Handicaps
✅ Step 1 — Who's Playing Today?
Toggle ON each player in today's round. They'll appear as picks in the betting markets.
HCP = handicap override · Bank = Venmo collected for their betting wallet
Teams
✈️ Manage Flights
Team Matchups
🏇 Set Morning Line (Win Market)
Override the auto-calculated odds for any player. Disappears once 3+ bets are placed. ✓ Live odds active — morning line no longer showing
Player Odds Auto
💸 Manage Bets
Edit to correct a bet amount or pick. Delete to remove it entirely.
📧 Notifications
Send email notifications to all players with email addresses on file.
🧪 Test:
Manage Roster
Settle Round
Step 1 — Enter Gross Scores

Enter each player's 18-hole gross score. The app will calculate net scores using their handicap and automatically determine Win (1st), Place (top 2), and Show (top 3).

⛳ Golf Genius connected — scores will sync automatically.
This will auto-settle Win, Place, and Show markets based on net scores.
Net Leaderboard
Step 2 — Market Status

Win/Place/Show are auto-settled from scores above. Use Settle for any markets that need manual picks (Team Match, etc.).

Step 3 — Skins Count

How many validated skins did each player win? Call out the scores around the table and enter totals here.

Final Step — Finalize

All markets settled? Hit the button — payouts calculate instantly and the Settlement screen goes live for everyone.

📊 Season Stats

No settled rounds yet this season. Stats will appear after the first round is settled.

Player Performance

Player Rnds Avg Best Worst
🔧 Admin Tools

Recalculates all season standings from scratch. Use after score corrections or market fixes.

✏️ Edit Past Scores
Select a Round
✅ Bet placed!