Giter VIP home page Giter VIP logo

hubber-memory-game's Introduction

Hubber Memory Game

The classic memory game, with your favorite hubbers

Resources

Tutorial using HTML5 Games development by Example: Beginners Guide.

Hosted using GitHub Pages.

Contributing

  • Fork the repository.
  • Create a branch (e.g. my-awesome-feature) for the work you’re going to do.
  • Make your awesome changes in your topic branch.
  • Send a pull request from your branch to this repository.

Running locally

Just open the index.html file in a browser. No frameworks needed. 😁

Rebuilding the GitHubbers list

The js/Hubbers.js file contains a list with all the public members in the GitHub organization. It contains minimal information which is needed and used when the public API request rate limit exceeds.

This file is updated automatically using the build.js script and a token:

$ npm i
$ node build.js <token>

hubber-memory-game's People

Contributors

aleroddepaz avatar alysonla avatar ionicabizau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hubber-memory-game's Issues

Add some :heart: to the README.md

I would suggest adding some ❀️ to the README file so people who want to download and run the game know how, and so people who want to contribute know your preferred workflow (dat GitHub flow).

Also, I'll be happy to address said README issues in my PR with the design love coming up. πŸ˜‰

Save the hubbers in localstorage

We're now making API requests to GitHub API: max 60 requests / hour. A nice improvement would be to store the hubbers list in browser's localStorage and try to update it every time (just in case new hubbers are appearing).

  1. Check if the localStorage contains hubbers
  2. Try to update the localStorage info.
  3. If 1 and 2 failed, take the hubbers from our file.

πŸ’«

Limit the time

I think the game would be better if the time is limited

Cards remain flipped after a match

Would like to update so that that cards remain flipped after a match instead of disappearing as they do now. Would be better for memorization purposes!

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.