Marketplace
FeatureFree
Jackpot
NullDaily
A weekly prize draw where you can't lose money, plus the real math on lottery tickets.
Jackpot
The lottery idea, done honestly: a weekly prize-linked draw where you can't lose money, next to the real math on lottery tickets.
- Tickets: one free ticket every week; tickets from what goes into your jar anywhere in Budvo (one per $5, up to 5 a week) and from smashing it (2 a week), counted toward the week it happened while that week hasn't been drawn; and, optionally, one ticket per $1 you pledge to your own jar here (up to 10 a week and $10 a day; Budvo asks first in its own dialog, or the game does on older servers). You never need to pledge to play. On older Budvo servers without jar history, jar tickets come from the balance compared with your last visit.
- The draw: after a week ends, your next visit draws it and flips each ticket over. Each ticket is checked on its own against fixed odds, so nobody else's tickets matter. The draw is seeded by the week, the number of tickets and a code kept in this household's storage, so it comes out the same every time and shows its draw code.
- Prizes: pixel trophies (silver, gold, platinum) and your treat pass: a treat you choose up front ("a fancy coffee") for a gold or jackpot win. The treat pass is a note to yourself; Budvo doesn't pay for it.
- No prize: the dollar behind the ticket is still in your jar, which is the whole point.
- Real lottery math: what $2 a day on lottery tickets does over a year (about 50 cents back per dollar on average) next to $2 a day into your jar, a rough estimate of how much sooner your highest-rate debt would be paid off and how much interest you'd skip, and a note that some credit unions offer prize-linked savings accounts.
| Prize, per ticket | Chance |
|---|---|
| Jackpot: platinum trophy + treat pass | 1% (1 in 100) |
| Gold trophy + treat pass | 5% (1 in 20) |
| Silver trophy | 15% (about 1 in 7) |
| No prize (your dollar stays in your jar) | 79% |
Nothing here moves money. A pledge only adds to the jar, and a smash never takes checking below your safety net.
Permissions
| Permission | Why |
|---|---|
debts:read | Your highest-rate debt, for the lottery math |
jar:read | What went into your jar and your smashes, for free tickets |
jar:pledge | Optional ticket pledges, at most $10 a day |
storage | Your tickets, draws, trophies, treat pass and household draw code |
Files
app/app.js: tickets, the seeded weekly draw, the trophy shelf and the lottery math.app/px.js,app/px.css: small helpers and the pixel look shared by the game examples.app/budvo-sdk.js: the Budvo SDK, copied fromsdk/budvo-sdk.js.
Run it locally with npx budvo-addon dev . from this folder.
Versions
1.1.1Latest
- Needs server
- 0.4.0+
- Runtime
- app@1
- Size
- 26.0 KB
- SHA-256
- e70749cd4010be49…
Republished for Budvo 0.4.0 with the renamed SDK. Nothing else changed.