[{"data":1,"prerenderedAt":121},["ShallowReactive",2],{"project-lotto-numbers":3},{"id":4,"title":5,"available":6,"badges":7,"body":10,"client":103,"date":104,"description":105,"development":106,"duration":103,"extension":107,"image":108,"meta":109,"navigation":6,"path":110,"preview_type":103,"privacy":103,"role":103,"seo":111,"short_description":112,"status":113,"stem":114,"technology":115,"url":90,"weight":119,"__hash__":120},"projects/projects/lotto-numbers.md","Lotto | Your numbers",true,[8,9],"code","design",{"type":11,"value":12,"toc":97},"minimark",[13,30,41,46,49,62,66,85,94],[14,15,16,20,21,25,26,29],"p",{},[17,18,19],"strong",{},"Lotto | Your Numbers"," is a small side project that answers a question: ",[22,23,24],"em",{},"has my favorite combination ever actually come up?"," You type in six numbers, and the app checks them against ",[17,27,28],{},"every Polish Lotto draw since 1957"," - that's 65+ years of historical draws, tens of thousands of entries.",[14,31,32,33,36,37,40],{},"The app also surfaces the math behind that: your odds of hitting a 6 in Polish Lotto are ",[17,34,35],{},"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 ",[22,38,39],{},"feel"," just how rare a win actually is.",[42,43,45],"h2",{"id":44},"how-it-works","How it works",[14,47,48],{},"The full historical dataset is bundled into the app, so searches happen instantly on the client without touching a backend. You can:",[50,51,52,56,59],"ul",{},[53,54,55],"li",{},"Enter any 6-number combination and see whether it's ever been drawn",[53,57,58],{},"Check partial matches - how many 3s, 4s, or 5s your numbers have scored historically",[53,60,61],{},"Browse draws by date",[42,63,65],{"id":64},"tech","Tech",[14,67,68,69,72,73,76,77,80,81,84],{},"Built with ",[17,70,71],{},"Nuxt"," and ",[17,74,75],{},"Vue"," (94% of the codebase), with ",[17,78,79],{},"SCSS"," for styling and ",[17,82,83],{},"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.",[86,87,91],"callout",{"color":88,"icon":89,"to":90},"neutral","i-simple-icons-github","https://github.com/gitFoxCode/lotto-your-numbers",[14,92,93],{},"Source code on GitHub",[14,95,96],{},"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.",{"title":98,"searchDepth":99,"depth":99,"links":100},"",2,[101,102],{"id":44,"depth":99,"text":45},{"id":64,"depth":99,"text":65},null,"2022-07-16","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.",false,"md","lottonumbers.png",{},"/projects/lotto-numbers",{"title":5,"description":105},"Check if your lotto numbers have ever been drawn - searchable across 65+ years of Polish lottery history","online","projects/lotto-numbers",[116,117,118],"html","css","vue",5,"6wZ9b7a9uSiG9PyWDevS02jriENW9yzzy6W-v0F24kU",1776886072891]