Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q: You have to design a puzzle game. Upon starting the opening display screen will give three choices i) new user, ii) new game,

Q: You have to design a puzzle game. Upon starting the opening display screen will give three choices i) new user, ii) new game, iii) top scorer. If user select new user, program will require the name of the user after that game starts. There will be four starting point and User have assigned any random starting point on each start. User task is to reach destination point 5 level away from starting point. At each level user are given four choices out of which only one is correct. If user have entered the correct choice at first attempt, he attains 40 marks and he will be proceeded to next level. If he/she failed that choice will be removed and he is given second chance to select one choice out of three. If he successfully selects the correct choice in second attempt, he/she will be given 20 marks and proceeds to next level. If he/she again failed, the selected choice is removed, and he/she will be given third attempt to select the correct choice out of two. If user is able to enter correct choice on third attempt, he/she will be proceeded to next level and no marks will be given. If user again failed to enter the correct choice, then user game will be over and his/her earned marks will be displayed and saved in file ong with his name user and then upon pressing any key go back to opening display screen. In this way game will be continue and if user is able to reach and clear final level successfully. Program will display "Ultimate Champion and your score is (earned score)", store the score along with his name user and then upon pressing any key go back to opening display screen. If user select new game from the opening display screen, the screen will be prompt user to enter the name. program will search for the entered name by user. If the name is already available in the file, the game will start and after completion the score of the user will be updated. If the username is not available, program will prompt user that his/her name is not available and go back to opening display screen. If user select the top scorer choice from the opening display screen. Your program will check the highest score from the file and display the name of the user and then upon pressing any key go back to opening display screen. You have to submit the following documents to get full marks, each section carries different marks Scanned hand sketched diagram on A4 sheet with your roll number and name, that will show correct and wrong choices from each of the four-starting point to destination. Note destination must be 5 level away from each starting point Provide Flowchart of your code (hand sketched or using MS office) Random Screen shorts of running program Working code with appropriate comments.

Step by Step Solution

3.47 Rating (163 Votes )

There are 3 Steps involved in it

Step: 1

1 include 2 include 3 include 4 2345 5 6 7 8 9 10 11 UPDATE THE QUE... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Accounting

Authors: Gail Fayerman

1st Canadian Edition

9781118774113, 1118774116, 111803791X, 978-1118037911

More Books

Students also viewed these Programming questions