Code Monkey home page Code Monkey logo

cards-against-pandemic's Issues

Leaving the tab makes you lose your points, cards etc

Pretty big problem the last few games is that when you accidentally leave the site, refresh or whatever - you loose your place in the game.

Potential quick fix for this could be to store your cards, name and points in localstorage, then check on re-entry for the data.

Visual fixes

Various visual snags, mainly present due to laziness:

  • Current player ticker needs to not move
  • Bottom nav buttons need to be bigger
  • Players submitted needs to be labelled and central
  • Draw white card need to be more intuitive
  • Bottom of screen needs padding to counteract the nav

Multi-card picks functionality

When a black card requires more than one pick

  • Each players cards should be arranged on the table to indicate they belong together (possibly in a single ul)
  • Choosing multiple cards could be improved with a counter or even a confirm

Event Log

The developer log needs to be replaced with a user-orientated log. "Output" should also be hidden.

Events should include:

  • When someone wins
  • A users turn as the black card draw begins / ends
  • When a user joins / leaves

Events should return most recent first, and could be limited to the X most-recent events.

Other static info like current player, number of cards in the white / black / discard might be handy.

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.