https://github.com/haggen/dailygametrivia
Find out the mystery game of the day based on hints such as year of release, genres, player's perspective and more.
https://github.com/haggen/dailygametrivia
igdb react typescript
Last synced: about 1 month ago
JSON representation
Find out the mystery game of the day based on hints such as year of release, genres, player's perspective and more.
- Host: GitHub
- URL: https://github.com/haggen/dailygametrivia
- Owner: haggen
- License: other
- Created: 2023-04-07T16:04:43.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T21:11:01.000Z (10 months ago)
- Last Synced: 2025-04-16T02:02:06.580Z (2 months ago)
- Topics: igdb, react, typescript
- Language: TypeScript
- Homepage: https://dailygametrivia.crz.li
- Size: 1.06 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://gamedle.wtf).
Game information is imported from [Twitch's IGDB](https://www.igdb.com).
## Development
The **Daily Game Trivia** is a React application built using [Parcel](https://parceljs.org/).
To start clone the repository and run:
```sh
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](https://dev.twitch.tv/console) client ID and secret.
```sh
CLIENT_ID=... CLIENT_SECRET=... npm run import
```### Static analysis
We use ESLint, Prettier and TypeScript to maintain code quality.
You can apply fixes with:
```sh
npm run fix
```And run tpye checking with:
```sh
npm run typecheck
```It'll also run automatically before commits with the `scripts/pre-commit` hook.
### Deployment
Build the production bundle by running:
```sh
npm run build
```## License
Apache-2.0 © Arthur Corenzan and collaborators.