Giter VIP home page Giter VIP logo

greed's People

Contributors

baconheist avatar beefsack avatar

Stargazers

 avatar  avatar

Watchers

 avatar

greed's Issues

Current turn score carries over

If you win a game and click to start a new game, your turn score carries over to the new game.

The example below had scored 600 on the previous turn to finish the game, and a new game was started.

turn: [email protected]
Your score at the start of this turn:0
[email protected]'s score:0
reroll
calculating score and removing scored dice
Testing: choice:D
used a D
rerolling remaining 
E1
E1
G
E2
D
unavailable: D
calculating choices 

one G 
one D 
score: 700

3 Gs displays as 3 Ds

2St+VkukIghmD4y3viXnlSqtES7hDm1svN+o+UIjRNpaFIfNXCzVZB//3Ei0Jchw+GL/yl4MADCH0bvYsRBhYj6jotZZumSdII77nYvOFtPcrxwQMts+BdNvO4L/1yuXtUftbyjWXn96Q4+M+Y8yM4Y5/ySsIy6iw0oVoTeUDpdA4ClXip5oefVe8d+zomFGjbHkkKapoqGAMEeJXhZxBZ/vK7UpBEmHJdt10upVyLnDeCog4Z6QVnhwEkdWgtpA8ZIEn2FCXa2gjcmLVCbu8sXQubMia/WdZmwSwUcIpt/GEiUns/OZ5RG8X8xLRFGq6Jd0h8ukZUmPLRGE8AQHOw==

http://www.baconheist.com/greed/index.php?gamedat=2St%2bVkukIghmD4y3viXnlSqtES7hDm1svN%2bo%2bUIjRNpaFIfNXCzVZB%2f%2f3Ei0Jchw%2bGL%2fyl4MADCH0bvYsRBhYj6jotZZumSdII77nYvOFtPcrxwQMts%2bBdNvO4L%2f1yuXtUftbyjWXn96Q4%2bM%2bY8yM4Y5%2fySsIy6iw0oVoTeUDpdA4ClXip5oefVe8d%2bzomFGjbHkkKapoqGAMEeJXhZxBZ%2fvK7UpBEmHJdt10upVyLnDeCog4Z6QVnhwEkdWgtpA8ZIEn2FCXa2gjcmLVCbu8sXQubMia%2fWdZmwSwUcIpt%2fGEiUns%2fOZ5RG8X8xLRFGq6Jd0h8ukZUmPLRGE8AQHOw%3d%3d

Issue when saving 3 E1s then rerolling all

Testing: choice:G
used a G
rerolling remaining 
used all E1
E1
D
D
E1
E2
calculating choices 

one D 
three E1s 

In this case, I scored off all dice then rerolled all. First I took 3xE1, then a mix of G and D to finish the dice. When I rerolled all, it says I can take three E1s again even though there are only 2, and there are only 5 dice available.

Game data:

2St+VkukIghmD4y3viXnlSqtES7hDm1svN+o+UIjRNpvkG9Hys2y8zhmEpjv5NsZ39Is3tuB8bXzwUCZJEB+bQpIChLkIgr8XwHpwbENR1bw3AXeKsvWjVU4a68PZivQHgHnrG/3sfc9IN3XSfeiz4GipZRHGoNjy3DaFsQSm3Eq5OfCdja9xjuyJ78WFy7co/EsDBSoNeTpxYVC9zzHthYTQO2tEzhhgweExP/9HTxk2xEkD0Lo5rP8zVQoGYVyyyHidoCSMyFKHi5yF+ZpEL4BsXlD46TerUHz0lnXeVgwsL88KBXr7qqgv3xtYnv2oqEDUJYMUBVXzHOU5ItEgg==

Taking 3 x $ replaces the top unavailable D with a $

Taking 3 x $ as final 3 dice and rerolling doesn't reroll all 6 dice

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.