Question: Cover the Spot is a carnival game whose objective is to completely cover a red circle using a set of five smaller disks. Players must
"Cover the Spot" is a carnival game whose objective is to completely cover a red circle using a set of five smaller disks. Players must drop the five disks onto the red circle, one at a time. Once a disk is dropped, it's position cannot be altered. The challenge of this game lies in positioning the disk so that no part of the red circle is visible, requiring very delicate and accurate placement. Your task is to create a "Cover the Spot" game with the following modes and features: Normal Mode: The disk is dropped at the coordinates of where the mouse is pressed. Easy Mode: The disk is placed at the coordinates of where the mouse is pressed. While the mouse is still being pressed, the disk position can be altered by moving the mouse. Once the mouse is let go the disk is dropped can can no longer be moved. Undo Feature: Removes the last disk that was dropped. Restart Feature: Removes all disks that were dropped. The game mode selection, undo feature, and restart feature should be handled using keyboard events. To ensure that the game is difficult, yet fair, the size ratio of the red circle to the smaller disks should be : The game state and instructions should be displayed on the command line at all times. For example: Game Mode: Easy Disks Left: M: Toggle Game Modes U: Undo R: Restart
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
