60 likes | 191 Views
Patrick K. Rono Game Programming SLIDER PUZZLE CSIS 4491 Spring 2005 With Dr. C. Xu. Story of the game. Your kingdom has found a treasure, but it is locked up in a safe. Your have the key, but it is a series of blocks all jumbled up.
E N D
Patrick K. Rono Game Programming SLIDER PUZZLE CSIS 4491 Spring 2005 With Dr. C. Xu
Story of the game. • Your kingdom has found a treasure, but it is locked up in a safe. • Your have the key, but it is a series of blocks all jumbled up. • You have to return them to their original position by sliding them about.
Requirements • Implemented in java. • Using javabeans and java applets.
Playing the game • The player chooses the level. • The blocks load in random order. Background music plays while the blocks load. • Player moves the blocks around by clicking on them. • Try and get all blocks to turn green.
UML SliderPuzzleApplet Sprite MouseListener JPanel Sprite2D implements RectSprite SliderPuzzleBean ControlBean RandomizerBean
An now lets play the game. The sliderpuzzle