Not much coding today, work been kinda busy. But last night I learned about delegates and events, and implemented a simple event in my Intcode computer to raise when the computer reaches a Halt (99) code :)
> I've regularly received pings, if that's what you're asking. It's just a quality of life thing (for me personally). AFAIK the other contributors to Rubberduck have different GH and SE usernames, so it doesn't apply to them...
@FreezePhoenix Yeah that's kind of the idea of a hash. You can brute force them with a massive list of common passwords (that's how hackers usually do it)
How about... finding the right number, where if you weight the value of the outcomes the following:
You pick a number between 0 and 100. You give another number, which is a token count. The game rolls a number, and if the number is greater than the first number you chose, it gives you the token number you inputted, times 1/(1-firstNumber)
Note, you lost the token count when you gave it them.
If it is less than the first number you chose, you get nothing. Except a message saying you lost.
So for instance, if you chose an initial number of 50, you have a multiplier of 2, but you lose 1 in 2, so statistically you would come out even.
@Phrancis Why's that?
It's a game within a game, it's the gambling machine lol, and i'm trying to take advantage of it now that i have reasonable amounts of gold in-game to actually try brute-forcing some profit
Assuming the computer's random distribution is pretty even, seems like low numbers would give you more frequent victories but smaller rewards, so less risk if you don't have that much gold you want to gamble away
@SimonForsberg No, whenever you win, 0.5% of the net is kept (say, you bet 100K on 75 up (hey i did that i have gold ok), then your multiplier would be 4x (100 / 25 = 4))
If you win, you would have spent 100K, and gained 400K, netting 300K
0.5% of that gold stays on the house, or 1.5K gold
In theory you can bet 00.00 down, but A) that's unlikely B) the house only has so much gold
I already know that the double or nothing method doesn't work, because you will eventually hit that once chance where you lose all of it.
And in each win, you still only would net the base amount
Wait, this is interesting
The sign that shows the maximum possible win is updated in real time
And it seems to go down, whenever I bet. Although, I am betting 25 up.
I bet 25 down, it drops a ton (accounting for the potential gain, I imagine) and then when I lost, it rose back up