Code Monkey home page Code Monkey logo

dailygametrivia's Introduction

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.

dailygametrivia's People

Contributors

allaanr avatar haggen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

allaan1 allaanr

dailygametrivia's Issues

Hide uninteresting platforms

The pool of games are filtered to just a handful of platforms. Since the list of a game's supported platforms sometimes are a little too long perhaps it would make sente to hide such platforms.

Add summary

A summary of what the player has got right or partially right so far.

Rearrange search components

  • Move suggestions box out of the input so can stretch side to side (over the button)
  • Allow the form submit to clear the input but preserve the search

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.