Microsoft Word - Document4
CREATE A SIMPLE PONG GAME WHILE USING THESE REQUIRMENTS,
PLEASE WRITE A SHORT EXPLAINATION OF WHAT YOU WISH TO ACHIEVE
PLEASE WRITE NOTES EXPLAING EVERY STEP OF THE CODE
ALL CODE MUST BE DONE IN PROCESSING SOFTWARE, FREE DOWNLOAD
AVAILABLE ON processing.org
SUBMIT the zipped file of the folder that has the usage sketch and the
Class file(s). DO NOT submit as individual files.
1. create one Class - define a Class for the main object in your project.
a. declare the attributes.
. write constructor(s) - there should be a minimum of one
constructor.
c. write methods that should be provided by your object (display and
other methods your project may need for the usage sketch to
interact with it).
2. in the usage sketch :
a. create only one instance of the Class and display it - DONOT
create an a
ay of instances for your Class (e.g. if you had multiple
alls in your project, create only 1 instance of Ball ).
. depending on your project, the usage sketch may require you to
write code inside draw or mouse functions or keyboard functions - if
so, then those code should be there.
c. the instance that you created in step 2 should behave as
expected .