Question:Programming with Graphics: • Write the program using classes provided by the Processing package
(specifically PApplet class, but you may use additional classes as well).
• Your program must be interactive and it must be developed using object oriented programming (i.e. things are represented using classes and objects). Project Description • Implement a game in which the user wins points by clicking on ONE MOVING DISK ONLY].
• Each disk should have its own value associated with it; values should be 10, 20, 50, 100. • The value of each disk should be displayed inside of the moving disk. • Each disk should move at its own rate and direction. Hint: you should have a Disk class.
• The disks disappear after some time; you could make disks with the higher value disappear much faster than the disks with the lower values.
• The user wins points by successfully clicking on disks. Your program should detect if the user successfully clicked on a disk.
• If the user successfully clicks on the disk, the disk's point value is added to the user's total and the disk should disappear.
• The game should last 1 minute. After one minute the total value of points collected should be displayed. Notes: • Make sure that the disks are large enough for a human user to click on them.
• Make sure that the disks are moving slow enough that a human user can click them, but also fast enough so that the game is challenging.
• Call your runnable program MyGame.java or another name you prefer. You may pick whatever names you wish for all other classes that you need.
• Do not submit all the files that Eclipse creates, just the source code files that have .java extension. • Do not submit the core.jar file.
Recently Asked Questions
- Please refer to the attachment to answer this question. This question was created from EL2-FCS-Instructions.docx. Additional comments: "can you walk me through
- When Alexander Graham Bell's patents expired, smaller phone companies sprang-up offering lower prices. Bell would not allow independents to use his long
- A statement of cash flows helps answer all of the following: What explains the changes in the cash account? Where does a company spends its cash? How can the