Professional Documents
Culture Documents
A one-armed bandit has a variety of fruits printed onto three wheels; someone
playing pulls the arm and the wheels rotate. After a few seconds the wheels stop,
revealing three randomly chosen fruits. If the fruits match the player wins a prize.
There are different probabilities of different fruits and so different prizes for each.
Above and beyond; on each leaver pull the players coins should reduce by 1 until the player runs out of coins
Design
Variable Table
Using python create a solution for the game, document the critical four stages of your development in the word
document provided. Each stage should have a print screen of your code and also the program working at that point.
Once you are certain the program works and have completed the testing section, comment your code
Testing
Complete your own testing table, aim for 10 tests with a variety of typical and extreme tests. Erroneous tests not
required.
Evaluation
Evaluate your programme in a short summary. How can your program be adjusted the settings of your game to
ensure the player always eventually loses.