Question: Create a game with the following rules: User is given FIVE turns to find as many prizes as they can. REPEAT - THE USER IS
Create a game with the following rules:
User is given FIVE turns to find as many prizes as they can.
REPEAT THE USER IS GIVEN FIVE TURNS
Users select the row and column the same way we programmed TrapFinder to create the search index.
When a prize is found set the bool value to FALSE to indicate no prize in the index and increase a found counter.
After every selection display to user a String message indicating ON OF THE FOLLOWING:
NICE! No PRIZE FOUND
NICE! FIRST PRIZE FOUND
NICE! SECOND PRIZE FOUND
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
