This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: AtTeroids Lab (CSE 15L, November 16, 2011) AtTeroids is a game where the player flies a spaceship and destroys as many asteroids as possible, without crashing into any. In this lab, we will be debugging the game with the assistance of Eclipse and JUnit. JUnit is a framework for testing Java programs. It helps with checking test results, and with automating the running of all tests. For this lab (not always!), getting all the existing tests to succeed is sufficient to make the program work as desired. Program Specification: When the program starts, the player sees a main menu. In this menu, the player can start the game or quit. Upon clicking Start Game, the player is in control of a spaceship that can fly around inside the play area using the arrow keys. The player can shoot using the w, a, s, and d keys. Asteroids are destroyed or split into smaller asteroids when they are hit. Projectiles disappear when they hit asteroids or walls. Asteroids and the players ship bounce off the walls if they collide with them.they hit asteroids or walls....
View Full Document
This note was uploaded on 12/11/2011 for the course CSE 15l taught by Professor Staff during the Fall '08 term at UCSD.
- Fall '08