App21 06: Zuul - g17s/BlueJApps GitHub Wiki

App21-06: Zuul Game - Console Application

IntelliJ Ultimate IDEA IJ-App06-Zuul Project

Description (10 Marks)

The name of my game is 'Football Match', the aim of the game is to arriive at the sports center and prepare for the match in time for kick-off, the player will need to buy items when they get to the center such as a sports drink and a football, they will also need to find the changing rooms and get changed into the football kit in time for kick-off.

The game can be won by collecting all of the items and get to the pitch before a specifiic time, however the game will be lost if the player cant be ready and on the pitch in time.

The map will be designed to require going to different ends of the map to discover and find items needed to win.

User Requirements (10 Marks)

The student should replace the general user requirements below with a full set of specific user requirements of their chosen game

You have been tasked with creating a new small version of Zuul to use as proof of concept.
For this purpose you game should contain a minimum of 8 locations.
The game prototype must include the following new features:-

  1. Add a Player object with status including 2 attributes such as energy and time before kick-off
  2. A set of items that the player can pick up and use; An energy drink, ball, kit and boots
  3. A Map object that contains a set of at least 8 interconnected locations
  4. An increased set of recognised commands such as 'drink energy drink' and 'get changed'
  5. A clear single objective with a way of winning the game, and losing the game.

Zuul Locations (10 Marks)

Zuul Starting Locations

Software Design (20 Marks)

UML Use Case Diagram (20 Marks for 10 use cases)

Use Case Diagram

UML Class Diagram (20 marks for 10 classes)

The design must be an extension of this basic design which is based on the Command Design Pattern. Using this pattern each Command is a kind of ZuulCommand (inheritance) and is responsible for executing that command.

Basic Design

Black Box Testing (20 marks for 20 Black Box Tests)

Each member of the team must product at least 10 Black Box tests and a minimum of 20 in total

Test No Proposed Test Data Entered Expected Result Actual Result Comments
01 South from Valley "Go South" from valley Enter Slit
02 West from Valley "Go West" from valley No exit message
03 Wrong Direction "Go Home" from valley Go where? message

Game Walkthroughs (Testing 40% of total)

Programming Issues (20 marks for 10 issues)

Each member of the team must have posted at least 5 issues and a total of 10 issues

Application Evaluation (10 Marks for 5 improvements)

  1. Add more rooms so that the player has to explore more
  2. Add more objectives to complete before going to the pitch
  3. Add a probability of wining the game based on what has been picked up and consumed
  4. Give a selection of drinks and boots based on prices giving the character different power-ups
  5. Give the character the choice of kit customisation