Question
iOS Programming Implement the Higher Lower game, from The Price is Right, as a Swift console app using Xcode. Recall: In this game, the contestant
iOS Programming
Implement the Higher Lower game, from The Price is Right, as a Swift console app using Xcode.
Recall: In this game, the contestant is given a price range from which he or she must guess the price of some item within a given amount of time. The contestant guesses a price and is told whether the actual price is higher or lower than the price guessed. This process is then repeated. The contestant wins when they guess the correct price. The contestant losses if they run out of time.
You need to write a program that will pick a random value in a specific range and prompt the user to guess the correct value within a that range. If the users guess is incorrect, the program should indicate whether the correct value is higher or lower than the value guessed. Instead of a timer, we will give the user an appropriate number of guesses..
Your program should also:
Give detailed directions to the user.
Be readable with appropriate documentation and formatting.
Allow the user to choose between hard and easy modes and vary the number of allowed guesses appropriately.
Programs submitted for this class will be graded based roughly, on the following criteria:
Does it perform correctly for all test instances? 40 %
Does it conform to assignment specifications? 30 %
Is it readable and well documented? 30 %
Creativity!!! 20 % (Bonus!!)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started