CS 102 Lab # 6
Objective: To gain experience with interface and objects implementing interface .

The Game

For this lab, you will write an arcade game in which the player controls a plane to fight with an enemy plane.

Below is a demo of what we have in mind. You may notice that the animation is not perfectly smooth when it is viewed in a browser. This is not an issue of the program.



The program consists of four classes and one interface:

We have started in class with partial implementations of the class ArcadeGame, Bullet, EnemyPlane, and PlayerPlane. To start, create a folder CS102/lab6, and place those files in the folder. The following image files should also be saved in the same folder.

Grading Points

Grading Points

Value Feature
Style (6 pts total)
2 Appropriate comments
1 Good choice of names
1 Good use of boolean expressions
1 Not doing more work than necessary
1 Appropriate parameters
Correctness (14 pts total)
2 Correctly display the planes
2 Correctly move the player plane and the enemy plane
2 Correctly implement the interface
2 Correctly lose and win the game animation
2 Correctly display the damaged image when the enemy plane is hit
2 Your game should play in a similar fashion as the demo
2 No other problems