aegis41 / carrots-or-garbage Goto Github PK
View Code? Open in Web Editor NEWA game about carrots and garbage
A game about carrots and garbage
Currently the betting buttons are an object called objBtnSmall and they have an image index property that starts them on the image in the sprite stack that correlates to their amount. They also have a betting amount property. Also, each one needs a specialized instance name to be controlled.
This would work so much better if there were a way to draw the number on or over the sprite based on the betAmount property, and just leave the instance names alone so that the whole stack could be handled by a with(objBtnSmall)
instead. the more buttons that get added, the more jumbled and cumbersome the code is becoming.
It would be nice if in the onCreate event that the betting amount were drawn on top of just a generic button object with a three state sprite for standard, hover, and pressed states.
Once player has picked a door, then a door is revealed, there is only a 1/3 chance that that door is the Carrots door. If the user sticks with this door, payout should be higher for the increased risk
Since there is a 2/3 chance that the door the player switches to will be carrots, the payout for the choice to change to the other door should be less for the decreased risk.
Each of the three games could potentially have a hardcore mode which would be unlocked upon a triggering event.
Possible triggering events could be
Possible triggering events could be
Thanks to @yosoyju for suggesting this
There are many things that a Carrots or Garbage player may want to know about their performance in the game. The HUD is the place to do that.
Assets arranged by game
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.