
I need an algorithm for a chance game
- or -
Post a project like this4424
£100(approx. $134)
- Posted:
- Proposals: 1
- Remote
- #361431
- Awarded
Description
Experience Level: Intermediate
Estimated project duration: less than 1 week
Hi,
I need an algorithm made for a simple chance game.
The chance game is just a simple 50/50 game where you either win or lose. Some examples include red or black, heads or tails and Yes or no.
The algorithm needs to favor towards the creator so that it keeps track of current profit and decide whether they are a winner or loser.
If they win with a bet of £10 for example they would win £10 and be left with £20 they would then have the option to bet that. If they win with that bet they would win £40 and be left with £60. They could then choose to bet that for the chance to win £180 and be left with £240
So to clarify the winnings:
1st game = 1 x bet
2nd game = 2 x bet
3rd game = 3 x bet
4th game = 4 x bet
5th game = 5 x bet
They can continue to do this as many times as they like, The algorithm should stop them from winning to much and keeping the house profitable! Every now and then it should allow them to win a fair amount of money.
I would like to highlight that this is for a school project to demonstrate fairness! It will be used to highlight how a software developer can control all the variables!
Al money used is fake and not real! The algorithm will only be used for students to convert in to a game of either their choice or this algorithm.
I need an algorithm made for a simple chance game.
The chance game is just a simple 50/50 game where you either win or lose. Some examples include red or black, heads or tails and Yes or no.
The algorithm needs to favor towards the creator so that it keeps track of current profit and decide whether they are a winner or loser.
If they win with a bet of £10 for example they would win £10 and be left with £20 they would then have the option to bet that. If they win with that bet they would win £40 and be left with £60. They could then choose to bet that for the chance to win £180 and be left with £240
So to clarify the winnings:
1st game = 1 x bet
2nd game = 2 x bet
3rd game = 3 x bet
4th game = 4 x bet
5th game = 5 x bet
They can continue to do this as many times as they like, The algorithm should stop them from winning to much and keeping the house profitable! Every now and then it should allow them to win a fair amount of money.
I would like to highlight that this is for a school project to demonstrate fairness! It will be used to highlight how a software developer can control all the variables!
Al money used is fake and not real! The algorithm will only be used for students to convert in to a game of either their choice or this algorithm.
Tracey D.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
29%
Last project
13 Nov 2013
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies