Post: Make Me A Simple Calculator (vBux)
08-12-2011, 02:45 AM #1
Adam West
git muny
(adsbygoogle = window.adsbygoogle || []).push({}); I'll 50k vBux to whoever can make me an odds calculator when the odds are 50/50
What i want it to do: calculate my odds of winning and showing it in % after a series of wins and losses.
The Math (probably explained terribly) :
If the odds are 50/50 the one that gets picked (Win or Loose) gets divided in 2 and Half stays and the other Half goes to the other side. If you don't get it look at the example below


Example:The beginning Odds are 50%Win/50%Loss
1rst Game: If I win the odds will be 25%Win/75%Loss
2nd Game: if I win again the odds will be 12.5%Win/87.5%Loss
3rd Game: If I loose the odds will be 56.25%Win/43.75%Loss

250k vBux and +10 rep to the first person that makes this for me
(adsbygoogle = window.adsbygoogle || []).push({});
08-13-2011, 01:47 AM #11
Adam West
git muny
Originally posted by AsianInvasion View Post
That's tough, because in theory, each round is a completely unrelated event. Let's say you're flipping a coin. The first time you flip it, the odds of you getting heads is 50%, and the odds of getting tails is the same. The second time you flip the coin, the odds have not changed, there is still an equal chance of the coin going either way, because the two flips are individual results.

What you're assuming is that after each event, an object is removed. For example, a bag of 4 marbles, two blue, two red. If you draw a blue marble, the odds of getting a red marble are increased the next event - but only if you don't reinsert the blue marble to the draw.

So, is the removal of an object what you are looking for? Or do you want a program that prints 50% a bunch?


I Understand what you are saying, but (i cant explain for sh*t so sorry) in what i'm doing, let's say I won, as soon as a i win or loose the odds of me winning again are halved and the odds of me loosing are given the other half. so the odds of me winning again are 25% and the odds of loosing are 75% due to probability. an I would like the calculator to do this method to show me my odds of winning of loosing after a series of wins or losses
08-13-2011, 02:00 AM #12
Epic?
Awe-Inspiring
Originally posted by Adam
I Understand what you are saying, but (i cant explain for sh*t so sorry) in what i'm doing, let's say I won, as soon as a i win or loose the odds of me winning again are halved and the odds of me loosing are given the other half. so the odds of me winning again are 25% and the odds of loosing are 75% due to probability. an I would like the calculator to do this method to show me my odds of winning of loosing after a series of wins or losses


I see, so you don't want to calculate outcome, but you want to calculate the probability of a continuous win streak? If so, I can make one for ya!
08-13-2011, 02:07 AM #13
Adam West
git muny
Originally posted by AsianInvasion View Post
I see, so you don't want to calculate outcome, but you want to calculate the probability of a continuous win streak? If so, I can make one for ya!

yes i want one that can calculate the odds of me winning or loosing after various wins and losses
08-13-2011, 02:22 AM #14
This is a good thread, I would like to see what people come up with and all the different ideas used to get there. Are you guys going to include your source for your work?
08-13-2011, 03:02 AM #15
Shebang
Bring back the smileys!
Can't wait to see AsianInvasion's finished product Happy
08-13-2011, 06:50 AM #16
Epic?
Awe-Inspiring
Originally posted by Adam
yes i want one that can calculate the odds of me winning or loosing after various wins and losses


Okay, sorry it took me so long. I was about to work on it, but then I decided to drive to Dairy Queen. But once I got there and ate a cheeseburger I decided that I wanted to get some cake frosting, and a whiteboard. So, it took me longer than expected.

I took a video of it:


Its written in native C++ (hence the console app). Took me like 5 minutes once I actually managed to sit down and do it.

If that's what you're looking for, let me know and I'll upload it.
I'll be sure to put it into a nicer GUI if I do. Let me know what OS you have.

Video quality isn't great, so watch in HD on YouTube, or in full screen.


By the way, the formula itself is simple (I think):
100 - (n = a / (a + b))

Or in our case:
Win percentage is equal to total wins divided by the sum of total wins and total losses, all that is then subtracted from 100, to give us our total win percentage

Continuing from that, you simply must divide in half...

However, I'm not sure how statistically accurate that would be, I suppose it depends on the type of game you play, and the method in which you play it.
08-13-2011, 07:32 AM #17
Adam West
git muny
Originally posted by AsianInvasion View Post
Okay, sorry it took me so long. I was about to work on it, but then I decided to drive to Dairy Queen. But once I got there and ate a cheeseburger I decided that I wanted to get some cake frosting, and a whiteboard. So, it took me longer than expected.

I took a video of it:


Its written in native C++ (hence the console app). Took me like 5 minutes once I actually managed to sit down and do it.

If that's what you're looking for, let me know and I'll upload it.
I'll be sure to put it into a nicer GUI if I do. Let me know what OS you have.

Video quality isn't great, so watch in HD on YouTube, or in full screen.


By the way, the formula itself is simple (I think):
100 - (n = a / (a + b))

Or in our case:
Win percentage is equal to total wins divided by the sum of total wins and total losses, all that is then subtracted from 100, to give us our total win percentage

Continuing from that, you simply must divide in half...

However, I'm not sure how statistically accurate that would be, I suppose it depends on the type of game you play, and the method in which you play it.

sorry this isn't exactly what i asked for, this does it differently, in the way i want it done the output of the numbers depend on the order of the wins and losses and not the quantity in comparisant.
For example; in your calculator if i put 3wins and 3 losses the odds of each happening are 50/50
But in the calculator i want, if I won and loss in a pattern of "win,loss,win,win,loss,loss" the odds of me winning the 7th game would be 78.90625% Chance of me winning and a 21.09375% chance of me loosing

Pick of an example progression: You must login or register to view this content.

I'm sorry i'm not to well at explaining my math, I'm only going into the 9th grade this coming school year, my school grades in math where always in the low 80s due to the fact I didn't always show my work even though i got the right answer
08-13-2011, 07:45 AM #18
Epic?
Awe-Inspiring
Originally posted by Adam
sorry this isn't exactly what i asked for, this does it differently, in the way i want it done the output of the numbers depend on the order of the wins and losses and not the quantity in comparisant.
For example; in your calculator if i put 3wins and 3 losses the odds of each happening are 50/50
But in the calculator i want, if I won and loss in a pattern of "win,loss,win,win,loss,loss" the odds of me winning the 7th game would be 78.90625% Chance of me winning and a 21.09375% chance of me loosing

Pick of an example progression: You must login or register to view this content.

I'm sorry i'm not to well at explaining my math, I'm only going into the 9th grade this coming school year, my school grades in math where always in the low 80s due to the fact I didn't always show my work even though i got the right answer


Okay, it would really be a bit better for me if you could represent that in an equation or formula. If what you're asking can't be quantified as such, it really can't be implemented.

If you can't put it into a mathematical equation, walk me through the steps you are taking... For example, in adding two numbers and subtracting a fourth, I might say: "First, I take the first two numbers and add them together (because I need to perform addition on the first two numbers), then I subtract the sum of those two numbers from the third number." - if you can put it into a more understandable form, I can build the equation for you.


Now, I will say one thing, I think I get where you're coming from.
You want a fairly advanced calculation here (more than what I initially expected, at least). You're saying that you want the percentage of likelihood for the win of the next round to be dependent both on previous results, as well as on the order in which outcomes occur. Is that what you were looking for? If not, I'll need the calculations you are doing to get those results (actually, it would be helpful if you gave them to me even if I am correct).
08-13-2011, 08:02 AM #19
Adam West
git muny
Originally posted by AsianInvasion View Post
Okay, it would really be a bit better for me if you could represent that in an equation or formula. If what you're asking can't be quantified as such, it really can't be implemented.

If you can't put it into a mathematical equation, walk me through the steps you are taking... For example, in adding two numbers and subtracting a fourth, I might say: "First, I take the first two numbers and add them together (because I need to perform addition on the first two numbers), then I subtract the sum of those two numbers from the third number." - if you can put it into a more understandable form, I can build the equation for you.


Now, I will say one thing, I think I get where you're coming from.
You want a fairly advanced calculation here (more than what I initially expected, at least). You're saying that you want the percentage of likelihood for the win of the next round to be dependent both on previous results, as well as on the order in which outcomes occur. Is that what you were looking for? If not, I'll need the calculations you are doing to get those results (actually, it would be helpful if you gave them to me even if I am correct).


You must login or register to view this content.

Uploaded with You must login or register to view this content. I Hope this helps

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo