Choose your odds
Choose your odds
A pretty small game made for the Trijam #112 made in about 2 hours and 30 minutes.
How to play:
Use your mouse to choose how much money to bet. The higher your bet, the most likely it is for you to lose: however, the minimum chance of winning is about 50% always!
Source code:
You can check it on our Github!
Made using Godot Engine 3.2.2 Stable Official, and JFXR for the sound effects.
Status | Released |
Platforms | HTML5, Windows, macOS, Linux |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | Escada Games |
Genre | Simulation |
Tags | 2D, betting, Casual, godot-engine, Open Source, Short |
Download
Download NowName your own price
Click download now to get access to the following files:
w64.zip 12 MB
w32.zip 12 MB
l64.zip 13 MB
l32.zip 13 MB
mac.zip 13 MB
Comments
Log in with itch.io to leave a comment.
Nice! What is your chance of winning formula?
Hi, thanks!
So, I actually had to look at the source code to remember the formula:
self.baseProbabilityOfWinning = 50 + clamp(50 * (1 - global.betValue / global.money), 0, 49.99)
self.actualProbabilityOfWinning = self.baseProbabilityOfWinning - 15*(numberOfWins / totalNumberOfMatches) + 25 * (numberOfLosses / totalNumberOfMatches)
So, basically, if the player wins too much it becomes harder to keep winning. Also, if instead the player loses too much, it's easier to win.
Yeah, the presented probability isn't the real probability: the game makes itself easier or harder depending on how lucky or unlucky the player is. Interestingly, I think nobody noticed this!
Thank you!
easy 500k