Browsers block file:// from loading ES modules (the game scripts). Run the dev server,
then open the app over HTTP.
From the repo folder (where package.json is):
npm run dev
Then visit http://localhost:5173/ (Dice 21) or /dice-21/
After a production build: npm run preview and use the same path.
Ready when you are
Loading…
Badges
Stake
Bet $50 · next pot $100
Dice 21
Felt
Bankroll ($) — you 100 · house 100
Closest to 21 without busting · under 14 your next hit is two dice; at 14+ your next hit is one die · vs house · choose your bet