Awesome
Guess The Year Game
Made by : David Han (@davjhan on github)
Try it out!
Play the game here: Guess The Year Game
Built with
Svelte Kit
- Tailwind CSS (JIT)
- Netlify
- Uses Plausible analytics (cookie-less)
Generates a static app that is hosted on Netlify.
Get Started
⚠️ This repo will not build out of the box. It has a dependency on [davjhan-core](https://github. com/davjhan/davjhan-core) which is not published on npm. If you want to build this project, follow the steps in that package's README.
davjhan-core
includes common tailwind styles, css, and components (e.g. Navbar) that will be reused between david
games. I use yalc link davjhan-core
on my local machine so that it builds.
Questions database
I sourced Wikipedia to hand-compile a database of questions in Airtable. I then have a script,
scripts/download-questions. ts
, that downloads the questions to a json file. It sits at 12kb for 120+ questions.
Commands
Run the dev server
npm run dev
Download the questions.json from Airtable database
npm run download-questions
Build and preview
npm run build
npm run preview
Deploy to Netlify
npm run deploy