What it is

Every day at midnight Eastern, r/Margindle gets a new post with one thing you can buy: a gallon of gas, 30 generic cholesterol pills, a large movie popcorn, a new car. You see where it's sold and the price you'd pay. Your job is to guess what it cost the seller.

How to play

  1. Open today's post and tap Play.
  2. Type a dollar amount. Each guess is printed on a receipt with a hint: higher, lower, or close.
  3. You have 5 tries. A guess within 15% of the real cost wins. Pricier items need a closer guess (10% from $100, 7% from $1,000, 5% from $10,000), and the game shows the percent next to the question. A guess closer to the shelf price than to the cost never wins.
  4. The result shows the markup, a verdict stamp from "Basically at cost" to "Highway robbery", a bar splitting the price into cost and markup, one line on why, and the sources.
  5. Then you see how everyone else guessed, your stats and streak, and a button to argue about it in the comments.

Some stores barely make anything on their item, some sell at a loss, and some markups are over 5,000%. You can't assume the answer is always "a lot".

Where the numbers come from

"Cost" means what the seller paid for the item or its ingredients. It doesn't include rent or wages, so a big markup isn't the same as a big profit.

Every item has a cited source, and the result screen links it. We use government data first, then company filings, then published estimates. The government data comes from CMS, EIA, USDA and BLS. The filings are from McDonald's, Chipotle, Starbucks, AMC and AutoNation. An estimate only gets used if two independent sources agree, and the result screen says it's an estimate. Friends review each item's numbers before it's posted.

Reddit features

  • Daily posts. A scheduled job posts the next reviewed item each day. Seasonal items are held for their date, so the turkey is posted on Thanksgiving.
  • Comments. The result screen links straight to the post's comments, where people argue about the markup.
  • Streak flair. Players can show their streak as user flair in r/Margindle.
  • Share. A short text result (item number, tries, an arrow for each guess and how close your best guess got) that never gives away the cost.
  • Archive. Older posts stay playable but don't count toward your streak.
  • Join prompt. Players who aren't members see one line inviting them to join.

How it's built

  • Devvit Web interactive post with an inline launch screen and an expanded game view.
  • TypeScript client and server. Redis stores each player's round, stats and streak, and every final guess for the histogram.
  • The answer stays on the server. The client only gets the cost, the why line and the sources once the round is over, so nobody can read it from the page.
  • Light and dark themes that follow Reddit, and it works on phone and desktop, by keyboard, and with reduced motion.
  • Items live in a JSON file with a checker script that recomputes every markup and verdict from the stored numbers.

Built With

Share this project:

Updates

Submission history