Introduction

Welcome to the Text Adventure Game.
We will guide you throught the gameplay, mechanics and commands of the game.
I hope you will enjoy this interactive game.

Premise

Waking up in a dimly lit room of a hospital, you find yourself lying on a cold, metal bed.
The air is thick with the scent of decay and antiseptic.
You try to recall how you got there, but your mind is blank.
As you try to find the exit, you encounter strange creatures never seen before.
Find a way out and recover your memories, as you try not to get yourself killed.

User stories

Link to consult the User Stories: Jira User Stories

Manual

Gameplay

The game is set in three different levels of the hospital:

  • the ground floor
  • the first floor
  • the second floor
Each floor has rooms, where you can find items and fight the monsters called "Nightmares".
When you start the game, the screen will display the main menu, where you can choose:
  • to start a new game
  • to load a pre-existing game
  • to delete a pre-existing game
  • to show the list of pre-existing games
Find the key for the exit room to complete the game.

Command List

Command Argument Description
help - Display lists of commands
newGame - Initialize new game session
loadGame name of the game session Resume a pre-existing game session
save - Save the current game session progress
move room name Allow the player to move to available rooms
look around - Show list of object in the room you can interact
interact name of the item Allow the player to interact with items in the room
inventory - Allow the player to see the list of items in the inventory
attack - Allow the player to attack the monster in the room
use name of the item Use the item in the inventory
exit - Allow player to exit the game

Game map

Map of the game

Dependencies

Name Version
Jupiter 5.10.0
Javafx 21.0.4
software.amazon.awssdk 2.20.4
jackson 2.15.2
junit 4 or higher
Apache Maven 3.9.6 or higher

Installation and Setup guide

Here is the guide to how to install the game.

  • Download the game project from Github.
    Otherwise, if you have git by typing in where you want the repository:
    git clone https://github.com/LimeiGuan/Text_Adventure_Game
  • Download and open an IDE of your choice, then open the project previously download/cloned.
  • Run the file "GameUI" inside /src/main/java/hospital folder by clicking on the green arrow.

Java Libraries

Here are the main Java libraries used.

  • java.nio
  • javafx.application
  • javafx.geometry
  • javafx.scene
  • com.fasterxml.jackson
  • software.amazon.awssdk
  • Design

    Domain Model

    Domain Model

    System Sequence Diagram

    System Sequence Diagram

    Internal Sequence Diagram

    Move - Internal Sequence Diagram

    Move Internal Sequence Diagram

    Save - Internal Sequence Diagram

    Save Internal Sequence Diagram

    Use - Internal Sequence Diagram

    Use Internal Sequence Diagram

    Design class model

    Design Class Model