Make an Android application version of any previous assignment.
The application must run on Android version 2.2 or higher.
Create a custom app icon
------------example of previous HW
Gaming Assignment in Java
Create a game using Processing in Eclipse.
You may work with up to one other student on this project. If you do so, include their name in the email when you submit your assignment.
Your game must include a photo of you, the author(s) somewhere [url removed, login to view]
You must document your code using javadoc comments for all classes, instance attributes, and instance methods.
Your code must include custom classes that represents each visual object in your game.
If your game requires more than one object to be instantiated from any class, you may want to hold those objects in an array.
One of your custom classes must contain at least 2 overloaded constructor methods.
Object orientated principles
Your code must follow the principles of abstraction and encapsulation.
Keep data fields private, and use getter and setter methods for any data fields that require external access.
Use the 'this' prefix when referring to instance properties or methods within the class they belong to (e.g. '[url removed, login to view] = 5;')
Use the class name prefix when referring to static properties or methods (e.g. '[url removed, login to view]();')
Users must be able to interact with your game in some way and have the game visualization react meaningfully. Common interactions include clicking, hovering the mouse over a part of the visualization, or typing on the keyboard.
Imagine you are recreating the classic arcade game, Asteroids, where asteroids are floating around, and the user moves a spaceship that shoots the asteroids and blows them up.
You would create a class called something like "PlayAsteroids", where you include the main logic of the game and where you instantiate all the other objects needed to play the game.
this class would override the Processing setup() and draw() methods
this class would instantiate all the Asteroid objects needed for the game and store them into an array (or better yet, an ArrayList).
You would create a custom Asteroid class that is used to instantiate each asteroid in the game
each asteroid would have instance variables representing its diameter, speed, x location, y location, etc.
each asteroid would have encapsulated methods to update its own position and draw itself to the screen
You would create a custom Spaceship class that represents the spaceship.
each spaceship would have instance variables representing its speed, orientation, x location, y location, etc.
each spaceship would have methods to rotate, thrust, and shoot.
each spaceship would have encapsulated methods to update its own position and draw itself to the screen
You would create a custom Bullet class that represents each bullet that the spaceship might shoot.
each bullet would have instance variables representing its speed,
each bullet would have encapsulated methods to update its own position and draw itself to the screen
each bullet would have an encapsulated method to check whether it has collided with any of the Asteroid objects.