COMP 310
Spring 2010
|
HW04: BallWar upgrade,
part 2
|
 |
Assignment Instructions Preliminary
For this assignment, you are to complete the upgrade to the BallWar system.
The full functionality of the BallWar system should now be implemented.
To turn in assignment: commit a new (w.r.t. HW03), clearly
named project to the Comp310 SVN repository.
- Updating and painting strategies should be moved to separate packages
(5 pts)
- Add user control without coupling ball to movement control specifics.
- Includes a controllable Move strategy (10 pts)
- Includes multiple key and action mappings. (10 pts)
- GUI should be updated to enable selection of a controlling user. (5
pts)
- Add status output
- Strategy that generates text output to label on GUI, but without being directly coupled to
it. (10 pts)
- Add upgraded painting capability
- Rotation capable ( 10 pts)
- Image capable (10 pts)
- Arbitrary Shape capable
- Superclass providing arbitrary shape-painting services (10
pts)
- Shape factories used with arbitrary shape painting strategy to
create arbitrary Polygon capability (10 pt)
- Composite paint strategy capable. (5 pts)
- Animated Shape capable (Not same as using animated GIF). ( 5
pts)
- Add Strategy initialization capability
- Must properly cascade the initializations to composees in composite
strategies. (5 pts)
- Movement strategy, text output strategy, and other strategies, such
as a stationary ball, should use this initialization capability.
(5 pts)
- Extra credit:
- Switcher strategy reinitializes balls when the strategy is switched.
(5 pts)
- Use a dynamically created/installed control panel to add an
capability to the GUI, e.g. the ability to select a movement key set. (5
pts)
© 2010 by Stephen Wong