View the step-by-step solution to:

Question: Programming with Graphics: Write the program using classes provided by the Processing package (specifically PApplet class, but you may use...

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

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question