App06 Zuul Game - lily-uwu/BlueJ-PartA GitHub Wiki
App06: Zuul Game Console Application
Start by creating a GitHub repository by Using This BlueJ Template
Start by creating a GitHub repository by Using This IntelliJ Ultimate IDEA Template
Description
This is a game based on the original Colossal Cave Adventure, however, in this version you are a thief who has broken into a store that houses many valuable goods. Your goal is to grab as many valuable items as you can carry and finally escape. The player must decide what items seem valuable to take as they have a limited weight.
This game is based on the classic console based game Colossal Cave Adventure by Will Crowther (1975) see
- Colossal Cave Adventure Play Through
- Colossal Cave Adventure Short Play
- Colossal Cave Adventure Clone GitHub Repo
- GitHub Repository
- Play the Game
Game Map
Example of Game Requirements
The game consists of 11 rooms, 2 of which are locked. Players must try and find the Keycard and Key to enter these rooms and get more valuable goods. The player should try and find as many valuables as they can carry and escape.
Item List
- Key
- Keycard
- Coat
- Drink
- Painting
- Jewel
- Computer
- Phone
- Sack
- Toolbag
Software Design
UML Use Case Diagram
UML Class Diagram
Black Box Testing
All black box testing done
Test No | Proposed Test | Data Entered | Expected Result | Actual Result | Comments |
---|---|---|---|---|---|
01 | South from Drop Room | "go south" from Drop Room | Enter Gallery | Entered Gallery | |
02 | Invalid Direction | "go west" from Drop Room | Error returned | There is no door! message | |
03 | Unknown Direction entered | "go gallery" from Drop Room | Error returned | There is no door! error | |
04 | Unknown Command entered | "jump" | Error returned | I don't know what you mean... error | |
05 | Get Unknown Item | "get apple" | Error returned | Item not found error | |
06 | Escape in Invalid Room | "escape" in computer room | Error returned | Go to escape room error | |
07 | Escape rope while overweight | "escape" in escape room while overweight | Error returned | You are overweight error | |
08 | Escape front exit while low energy | "escape" in front exit while low energy | Error returned | You don't have enough energy error | |
09 | Get item exceeding max weight | "get item" while max weight | Error returned | Item added to inventory, notification of exceeding max weight | |
10 | Use an unusable item | "use computer" | Error returned | Nothing returned | |
11 | Use an item you don't have | "use item" | Error returned | You don't have this item error | |
12 | Use without second word | "use" | Error returned | You don't have this item... error | |
13 | Go to locked room | "go east" from manager office to key room | Error returned | This room is locked... error | |
14 | Use item | "use sack" | Sack is used, item is removed | Sack is used (max weight increased) and removed from inventory | |
15 | Look around | "look" | Prints room inventory | Room inventory printed | |
16 | Drop item | "drop computer" | Item dropped | Item dropped | |
17 | Drop invalid item | "drop item" | Error returned | Item not found... error | |
18 | Drop item no second word | "drop" | Error returned | Drop what? error | |
19 | Print inventory | "inventory" | Inventory printed | Inventory printed | |
20 | Quit with second word | "quit game" | Error returned | Quit what? error |
Programming Issues
Application Evaluation
- The programming could be much more optimised with fixes such as changing multiple if statements to switch ones.
- Enemies could be implemented to make gameplay more exciting.
- For the version of the game I created, I feel a UI would be very beneficial to make the amount of commands and items reduce clutter.
- Health should be implemented to increase the challenge of keeping track of multiple stats.
- Player name and initial stats (health, energy etc.) should be personally customisable on game start.