Back FoxCode
code design

Project

Lotto | Your numbers

Check if your lotto numbers have ever been drawn - searchable across 65+ years of Polish lottery history

HTML CSS Vue

Date

July 2022

Status

online

Lotto | Your Numbers is a small side project that answers a question: has my favorite combination ever actually come up? You type in six numbers, and the app checks them against every Polish Lotto draw since 1957 - that's 65+ years of historical draws, tens of thousands of entries.

The app also surfaces the math behind that: your odds of hitting a 6 in Polish Lotto are 1 in 13,983,816. That's roughly the same as correctly guessing a single specific second in a 162-day span. The point of the app it's to let them feel just how rare a win actually is.

How it works

The full historical dataset is bundled into the app, so searches happen instantly on the client without touching a backend. You can:

  • Enter any 6-number combination and see whether it's ever been drawn
  • Check partial matches - how many 3s, 4s, or 5s your numbers have scored historically
  • Browse draws by date

Tech

Built with Nuxt and Vue (94% of the codebase), with SCSS for styling and TypeScript for type-safe data handling. The entire historical dataset is pre-processed at build time, so the deployed app is a static site with zero runtime dependencies - fast, free to host, and works offline.

Source code on GitHub

This was a weekend project - quick to build, quick to ship, and a good excuse to play with pre-processing large static datasets in a Nuxt build pipeline.

Lotto | Your numbers screenshot 1