Heads or Tails java program
[login to view URL]
Using the Strategy and StrategyRandom class, create a game that prompts the user to choose heads or tails, flips a virtual coin, and then displays the results to the user. The game must continue until 100 flips have been completed. Save the results of the flip results in a format of your choosing.
Modify the code to include the StrategyProbability class, using the results saved from the StrategyRandom as the starting values for the setMoves() function. The game must continue until 100 flips have been completed. Save the results of the flip results in a format of your choosing and separate from the StrategyRandom results.
For both 2 and 3, generate statistics on the odds of getting the right guess as well as the number of heads and tails flipped, displayed, respectively, to the user as well as saved with the results.
The program does not have to use graphics of actual coins - this is optional.
The 100 flips can be generated manually, i.e. user pressing a button, or automatically.
Hello,
Before you select a part time developer from here, take a look at fugacode.com. If you like what you see, contact us. That's all.
"Why hire freelancers? when you can hire professional developers for the same cost"
Regards,
FUGACODE Team
Hello, client
I have read you job post carefully.
I have rich experience in Java and JavaFX.
If you hire me, i can start immediately and complete within 3days
Thanks
Having read through the project description, I am very willing to work on the project and complete it for you accurately and with zero error. The price I bid is negotiable and I will be looking forward to hear from you.
Thanks damilareisaac