Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.28 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.28 KB

Daily Game Trivia

The Daily Game Trivia is an open-source and free to play browser game where you have to figure out the secret games of the day based on given hints such as year of release, genre, player's perspective, and more. Inspired by gamedle.wtf.

Game information is imported from Twitch's IGDB.

Development

The Daily Game Trivia is a React application built using Parcel.

To start clone the repository and run:

npm start

This will install dependencies, copy the pre-commit hook and spin up a development server.

Database

The database is loaded staticly from src/database.json. This file is generated by the import script but requires a valid Twitch API client ID and secret.

CLIENT_ID=... CLIENT_SECRET=... npm run import

Static analysis

We use ESLint, Prettier and TypeScript to maintain code quality.

You can apply fixes with:

npm run fix

And run tpye checking with:

npm run typecheck

It'll also run automatically before commits with the scripts/pre-commit hook.

Deployment

Build the production bundle by running:

npm run build

License

Apache-2.0 © Arthur Corenzan and collaborators.