Giter Site home page Giter Site logo

js-carrots-or-garbage's People

Contributors

aegis41 avatar

Watchers

 avatar  avatar  avatar

js-carrots-or-garbage's Issues

As a player I want to have my progress persist

Game data should be stored locally so that a refresh or closing and reopening the browser does not reset progress or state.

Acceptance Criteria

  • Game data can be put in local storage
  • Game data can be retrieved from local storage
  • Game data persists on a refresh
  • Game data persists on a closed and reopened browser/tab

As a player, I want to select a betting amount

The player needs a toggle group option to select their current level of betting. It should read the available amounts for betting based off of a configuration for the current game they're playing for reusability. We don't want to have to create a separate set of betting buttons for each game, just load them in with the amounts. The currently selected bet should be remembered from play to play.

The toggles should be disabled if the player does not currently have enough money/score to bet with.

Power ups should allow a player to bet higher than their current purse.

A game should have a default bet which is selected if the player has not chosen one.

Acceptance Criteria

  • Configurable betting controls appear on the page
  • Game remembers player's previous bet
  • Player cannot bet more than they have (except as below)
  • Bet amount control can be overridden by power ups
  • A player not selecting a betting amount has a default amount selected for them

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.