Colophon
How Wanderlust is made, and how the dice work.
Who
Wanderlust is made by Toprak, one person, with a lot of help from the people who put packs on their sites and the people who go looking for them. What changed lately is in the log.
Type
- Bricolage Grotesque for headings.
- Hanken Grotesk for everything you read.
- Space Mono for labels, numbers and code.
Built with
Next.js and React, Postgres for the cards, Redis for the counters, and an S3-style store for card pictures, which are shrunk before they’re saved. The 3D packs use three.js. It all runs on one small server we rent, not a big cloud. No ads, no trackers, no analytics scripts.
Thanks
The shine on the cards was inspired by pokemon-cards-css by Simon Goellner, the holographic card effects that showed how good a card can look in a browser. Everything on the cards now, every foil and texture, is drawn by our own code.
How the dice work
The site with the pack never decides what you get. Our server does, like this:
- Every pack holds exactly one card.
- The server picks a rarity, then a card of that rarity from the deck. By default the rarities come up this often:
- Common 60%
- Uncommon 25%
- Rare 10%
- Epic 4%
- Legendary 1%
- The person who made the deck can change those odds, but never past a ceiling: Epic cards are at most 10% of what a deck gives out, Legendary at most 3%.
- Bad luck has a floor. After 20 cards from one deck with no Rare or better, the next one is Rare or better. Owners can change the number.
- You can find one pack per site every 6 hours. Packs you don’t open wait in your stash, up to 50.
- The random numbers come from the server’s secure random generator, not the page.
The longer version, with the odds table, is on How it works.