Need to write a simply java program that is a robot/circle basically anything wi
ID: 2245605 • Letter: N
Question
Need to write a simply java program that is a robot/circle basically anything with a bounding area that can have an image placed there, to be controlled by the user to move around on the screen with inputs from the arrows keys on the keyboard. This robot needs to go to another object on the screen that will display for a second and then dissapear so the user needs to move the robot to that other objects location, in this case the other object being a piece of pizza. When the robot touchs the pizza it will dissapear and say "YUM!" then YUM will go away and another piece of pizza will be shown on the screen in some random location for another second and then dissapear once more, and so on and so forth until the user has hit 10 pieces of pizza, the user will also be timed ten seconds to get each piece. both the time and the pizza count should show in the top right of the screen.
Thanks a bunch!
Explanation / Answer
First we will define the constants used in our game.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.