Marketplace
FeatureFree
Claw Machine
NullDaily
A pixel claw machine. Each play drops $1 into your jar.
Claw Machine
A pixel claw machine full of trinkets. Each play is a $1 pledge to your Budvo jar, up to $5 a day (or less if you set a lower limit in Budvo). Win or miss, the dollar goes toward your debt the next time you smash the jar.
- Play: insert $1, move the claw with the arrows (or the arrow keys), and drop. You have 20 seconds.
- Prizes: ten pixel trinkets, from common lucky stars to the legendary golden crown. Rare ones are slippery.
- Your shelf: everything you've won, with counts. Prizes are cosmetic and have no cash value.
- Daily limit: when the jar has had its fill for today, the machine rests until tomorrow and says so.
- Budvo asks first: before each play's dollar goes into the jar, Budvo asks you in its own dialog (unless you turned that off for this add-on). "Not now" means no play and nothing in the jar.
Nothing here moves money. A pledge only adds to the jar, and a smash never takes checking below your safety net.
Permissions
| Permission | Why |
|---|---|
jar:pledge | Each play adds $1 to your jar, at most $5 a day |
storage | Keeps your shelf of prizes and today's plays |
Files
app/machine.js: the machine: a 128x136 pixel canvas and a small state machine (ready, dropping, grabbing, lifting, returning, releasing).app/prizes.js: the trinkets as 8x8 pixel grids, with rarity weights and grip.app/app.js: talks to Budvo: pledges, storage and the shelf.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
- 18.4 KB
- SHA-256
- 57d123061b1cd481…
Republished for Budvo 0.4.0 with the renamed SDK. Nothing else changed.