Comp 475 - Console Programming Homework #3
(With XNA for the X-Box 360) 40
points
Goals:
- Create
your first “real” XNA game
- Class design
(reusable code using inheritance)
- Get
input from 1 to 4 controllers
- Sound Integration
- Create
a font class
- Collision
detection for circles
Your “Tanks” Game
You are to develop a game similar in functionality to the
tanks game I illustrated in class.
Requirements
- Multiple
players must be able to move their “tank” around the playing area.
- Each
player must be able to “shoot” an object from their “tank” in a specified
direction.
- Borders
- The
game board must have clear boundaries that the “tank” and “bullets” can
not leave.
- The
game must have 1 or more “walls” that kill “bullets” and stop “tanks”.
- When a
players “bullet” collides with an opponents “tank” the player should get a
point and the “bullet” should disappear.
- The score
should be displayed at all times.
- Play
appropriate sounds when
- a
shot is fired
- a
shot hits a “tank”
- a collision
is made
- (optional)
back ground sound that plays in a loop for the entire game
- Good
class design.
- Clean
code.
- Good
names
- Appropriate
functions
- Appropriate
constants and/or enums
Creative Freedom
- Choose
a theme for the graphical components in your game. For example, instead of
tanks shooting bullets you may want to have elves throwing toys.
- Design
the user input from the controller to your liking.
Grading
Each requirement is worth 5 points each.
Turn it in
- Zip
your project folder and submit it on easel.
- I
would like to grade your project in your presence. Please schedule a time with me to do so.