GeorgeHoneywood / tescool

A grocery product guessing game

Home Page:https://tescool.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tescool is a little grocery price guessing game, for Tesco items. It's become a little harder with the recent inflation.

It has a daily challenge mode, where you can share your score with others, and a free play mode.

tescool-demo.mp4

Tech

Tescool is built with SvelteKit and Vite, and is hosted on Cloudflare Pages. The daily data is fetched on the first request of the day, and is persisted in Cloudflare Workers KV. Free play data is fetched on demand, and is cached for 15 seconds.

Tesco previously had a public API, but it seems to have been shut down at some point — conveniently, their website has an unauthenticated API that can be used for getting product information. Unfortunately, when you fetch a page of products, you sometimes get similar products being listed next to each other (i.e. different flavours of Pringles). This could be worked around with a bit of further effort.

About

A grocery product guessing game

https://tescool.pages.dev

License:MIT License


Languages

Language:TypeScript 46.9%Language:Svelte 42.7%Language:JavaScript 6.4%Language:HTML 4.0%