COMMUNITY

Building Bingo Jar: Turning Friday Night Pub Paperwork into a Phone App

How a stressful Friday night filling in for the local pub bingo organiser led to a simple phone web app with JSON handoffs, WhatsApp winner cards, and a lesson in pushing PWA updates.

Every Friday night at my local pub, there’s a Bingo Jar game running alongside the main bingo. It’s normally run by one of the locals who keeps the whole thing moving across a stack of paper sheets.

One Friday he was away, so he handed all the paperwork over to another group of locals to run for the night. Watching them get stressed out trying to follow along with the different sheets (who was in which game, who had paid, what numbers were taken, and what had rolled over from last week) gave me an idea.

There had to be an easier way to run this from a phone.

So I built Bingo Jar Organizer. It’s a free, public web app anyone can open and use, built around how a real Friday night Bingo Jar actually runs.


How the Bingo Jar Game Works

If you’ve never played a pub Bingo Jar before, the rules are simple enough. They only get messy when you’re trying to track 30 regulars on paper in a noisy pub:

  1. Pick a number: Before each game (usually 1, 2, 3, or more games across the night), players buy a number between 1 and 90 on that game’s board. Regulars usually stick to their favourite lucky numbers every week.
  2. Build the pot: Every paid entry goes straight into that game’s Jar Prize Pot. Different games can have different entry prices.
  3. Call the numbers: As the main bingo balls are called, you tap them off on the Draw Board. The first paid player whose number is called wins that game’s Jar.
  4. Rollovers: If a game finishes and nobody’s number came up, the pot rolls over automatically into the same game next Friday, building up a bigger prize.

Keeping It Local (With Easy Handoffs)

I deliberately built Bingo Jar with no backend database and no logins.

  • Works in a pub with patchy signal: It’s a plain HTML, CSS, and JavaScript Progressive Web App (PWA) with a Service Worker, which just means you can save it to your phone’s home screen and it keeps working even if the pub Wi-Fi drops.
  • Privacy by default: All the regulars’ names, lucky numbers, payment ticks, and session history live only in your phone’s browser storage (localStorage). Nothing is saved on my server.
  • Easy cover when the usual guy is away: When the regular organiser is off for a week, they tap Settings → Export JSON and send that tiny backup file privately (over WhatsApp, for example) to whoever is covering. The stand-in imports it on their phone, and five seconds later they’ve got the full regulars list, default numbers, and rollovers ready to go.

Bingo Jar Dashboard showing active paid players, prize pot, and numbered board


Features Built from Real Friday Nights

Most of the best bits didn’t come from an upfront plan. They came from watching the app get used live on Friday nights (it’s on v12 now):

  • Quick Check-in & “Paid All”: Regulars are saved in a directory with their usual numbers, so checking everyone in takes a couple of taps. A single Paid All tick marks someone paid across all their games.
  • Separate Draw Boards & Pricing per Game: Each game tracks its own entry price, prize pot, and called numbers. Paid players’ numbers light up in gold on the 1 to 90 grid so you can see straight away who’s live.
  • The “UNPAID WINNER!” Warning: Classic pub moment. Someone’s number comes up, they’re sitting right there, and you realise they handed you a fiver earlier and you forgot to tick them off (or they genuinely forgot to pay). When you tap an unpaid player’s number, a warning pops up with two honest buttons: “Yes, they actually paid!” or “Ignore & Continue Drawing.”

Bingo Jar Draw Board with called numbers in purple and paid players highlighted in gold


The WhatsApp Winner Card

One of the nicest surprises has been the Winner Screen. When a paid player’s number is tapped, the app pops up a confetti winner card with their name, the prize pot, the winning number, balls called, and numbers in play, plus a Share to WhatsApp button (using html2canvas to turn the card into an image).

The organiser loves dropping those screenshots straight into the game’s WhatsApp group each Friday night to show who won. It always gets a great reaction from the group for how clean and professional it looks. Happy with that.

Bingo Jar Winner Celebration modal with prize stats and Share to WhatsApp button


Two Snags Along the Way

1. Pushing Updates to Phones on a PWA

This turned out to be the trickiest part of running a phone web app without an App Store.

Because the Service Worker caches the app on the phone so it opens fast offline, mobile browsers (especially iOS Safari when saved to the home screen) love hanging onto last week’s styles.css and app.js.

I’d push a Friday afternoon fix to my TrueNAS container (routed through a Cloudflare Tunnel to bingojar.lickylips.me), only for the organiser’s phone to keep running the old version. Bumping query-string cache-busters (?v=10, ?v=11, ?v=12) got us through it, though the proper long-term fix is bumping the Service Worker cache version on every build and popping up a small “New version available, tap to reload” banner inside the app (without ever touching their saved localStorage data).

2. The html2canvas Browser Crash

In v11, I shipped the WhatsApp screenshot button using a bare module import for html2canvas. It worked grand in Vite dev mode, then crashed in the live browser build on TrueNAS. Loading html2canvas from a CDN fixed it in a few minutes.


Give It a Whirl

Bingo Jar Organizer is live at bingojar.lickylips.me and free for anyone to try. Everything stays in your own browser, so you can add a few test players, tap through a draw, and try out the winner card without signing up for anything.

If you run a pub night, club fundraiser, or raffle and give it a go, let me know in the comments below how you get on.

#pwa#javascript#homelab#community#bingo

Comments