Coder Social home page Coder Social logo

jsbingoslots's People

Contributors

hfuller avatar nick99nack avatar

jsbingoslots's Issues

Lock out clicking anything while we are still spinning

Really we should probably redo the entire spinning logic but for now this will fix two issues:

  1. We can click very fast on a column while the later columns are not done spinning yet, accumulate the points, then get a DD in a later column and this will result in the DD taking away the higher score. This would have been impossible in the OG game because the DD would have been processed before the user was allowed to click at all.
  2. Just general UI nonsense that occurs because we can click while we are still spinning.

Later this will be important for one more reason, namely, in the OG game, you could tell that you had already completed all you could do on this spin because the buttons no longer had mouse-over effects and clicking them didn't make the "thunk"/"you can't do that" sound anymore. So when we have multiplayer, we can replicate this hint by re-locking the whole game card as soon as you have made all your matches, so it will be locked while we are waiting for the rest of the players to finish.

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.