Software Engineering Project: Maze Game Design and Analysis ITECH7201
VerifiedAdded on 2022/11/28
|9
|1473
|257
Project
AI Summary
This project presents the design and analysis of a text-based maze game developed in Java, inspired by Dungeons and Dragons. The game features player characters, weapons, items, and a scoring system. The project covers user stories, a use case model (including actions like moving, unlocking treasures, and interacting with monsters), a class model elaborating on the use case, and a domain model defining game elements. Domain rules are outlined, covering player interactions, item usage, and game progression. The design model incorporates a maze builder, and the sequence diagram illustrates the game's flow. The project successfully implements the maze game, allowing players to navigate levels, collect items, and battle opponents, with scores updated and saved throughout the game.

Software Design and
Analysis
Analysis
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Table of Contents
Introduction..............................................................................................................................1
User Stories...............................................................................................................................2
Use Case model.........................................................................................................................3
Class Model...............................................................................................................................3
Domain Model..........................................................................................................................4
Domain Rules............................................................................................................................5
Conclusion.................................................................................................................................5
Introduction..............................................................................................................................1
User Stories...............................................................................................................................2
Use Case model.........................................................................................................................3
Class Model...............................................................................................................................3
Domain Model..........................................................................................................................4
Domain Rules............................................................................................................................5
Conclusion.................................................................................................................................5

Introduction
Using java, we shall use develop the text based maze game. This is the motive behind this
project. Dungeons and dragons role paying game is the inspiration for our game and that was
also developed by using the java programming language. Various features of the game
include player’s character, weapons, characters, item details, score and attack character. The
game is started as soon as the player enters their name by text. For moves like attacking,
continuing etc, the short keywords by text are used. There is a points system where players
are rewarded with points after every game, level, or at exiting the game. As the player
progresses in the game and clears one level, he will enter the next level. At every level the
score is updated by the points and the final score is displayed at the end of the game.
Stories
Player - - Non-player character and Attack player character, are the two types of
players character’s.
Move Party –From one position to another position, the player keeps moving. Next
level will start once the player completes the current level and will have to quit if he
does not finish the game/ level.
Weapon -Different weapons are used by different players.
Location – Different locations are available for the player to select and play from.
Item - It containslook for an item, use an item, pickup item, and buy an item.
Use item - To attack other players the item can be used by the player.
Buy item-By paying certain amount, the player can buy a weapon.
Sell Item -The item can be sold to another player.
Unlock –The next level gets automatically unlocked, when a player completes a
particular level.
Join party –By using the keyword, the player starts the game.
Leave Party –The new location is where the player has to return back to.
Hold weapon –All the weapons are held by the player and he can buy and sell these
weapons to other players.
Use Case model
Using java, we shall use develop the text based maze game. This is the motive behind this
project. Dungeons and dragons role paying game is the inspiration for our game and that was
also developed by using the java programming language. Various features of the game
include player’s character, weapons, characters, item details, score and attack character. The
game is started as soon as the player enters their name by text. For moves like attacking,
continuing etc, the short keywords by text are used. There is a points system where players
are rewarded with points after every game, level, or at exiting the game. As the player
progresses in the game and clears one level, he will enter the next level. At every level the
score is updated by the points and the final score is displayed at the end of the game.
Stories
Player - - Non-player character and Attack player character, are the two types of
players character’s.
Move Party –From one position to another position, the player keeps moving. Next
level will start once the player completes the current level and will have to quit if he
does not finish the game/ level.
Weapon -Different weapons are used by different players.
Location – Different locations are available for the player to select and play from.
Item - It containslook for an item, use an item, pickup item, and buy an item.
Use item - To attack other players the item can be used by the player.
Buy item-By paying certain amount, the player can buy a weapon.
Sell Item -The item can be sold to another player.
Unlock –The next level gets automatically unlocked, when a player completes a
particular level.
Join party –By using the keyword, the player starts the game.
Leave Party –The new location is where the player has to return back to.
Hold weapon –All the weapons are held by the player and he can buy and sell these
weapons to other players.
Use Case model
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Player
Containing move, unlock treasure, enter room, key, drink bowl and block monster, is the
player’s use case model. For starting the game, player enters the player’s name. Enter the
room, after selecting the player and attack mode. Player can play the next level, when he
attacks the other player. Player proceeds to the next level, if the player wins the game or else
player shall have to exit the game. There are weapons with the player, in addition to the
option of buying/ selling, to attack the opponent player. The level which got unlocked should
now be entered. Building the maze, customizing the hero/room/ monster is all done by the
customizer. More detailed specifications, appearances and behaviour can be givento the
maze, room, monsters etc by the customize extension.
Unlock
treasure
Drink bowl
Enter room
Grab key
Strike
monster
Block
Monster
Move
Containing move, unlock treasure, enter room, key, drink bowl and block monster, is the
player’s use case model. For starting the game, player enters the player’s name. Enter the
room, after selecting the player and attack mode. Player can play the next level, when he
attacks the other player. Player proceeds to the next level, if the player wins the game or else
player shall have to exit the game. There are weapons with the player, in addition to the
option of buying/ selling, to attack the opponent player. The level which got unlocked should
now be entered. Building the maze, customizing the hero/room/ monster is all done by the
customizer. More detailed specifications, appearances and behaviour can be givento the
maze, room, monsters etc by the customize extension.
Unlock
treasure
Drink bowl
Enter room
Grab key
Strike
monster
Block
Monster
Move
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Class Model
Elaborating the use case model, the class model is basically used for the case model.
Attacking the players and their rooms are monsters and other players which are part of the
use case model. The room also contains the bowel and key which the player has to collect.
For attacking and fighting other players and also the monsters (i.e dragons), the player has a
wide range of weapons andarmour. The Key has points associated with it and the player has
to collect the maximum keys from the room after entering it (Karim, Farajallah &
Suryobroto, 2016).
Domain Model
Elaborating the use case model, the class model is basically used for the case model.
Attacking the players and their rooms are monsters and other players which are part of the
use case model. The room also contains the bowel and key which the player has to collect.
For attacking and fighting other players and also the monsters (i.e dragons), the player has a
wide range of weapons andarmour. The Key has points associated with it and the player has
to collect the maximum keys from the room after entering it (Karim, Farajallah &
Suryobroto, 2016).
Domain Model

The class and the use case model are the basis on which the Domain model is based upon.
Each string is defined by the combination of these models. Characters, monsters, dorm and
room are the parts on which the maze game is built. Players have to enter the room and
search for the keys and bowls. Integers represent the door, keys and bowls in the room.String
and Integer are the representation of the charactersof the players and attacking players. The
block monster and strike monster are the character functions. To enter the room the players
are fighting among themselves and they are going after keys so that they can continue to the
next level. The game has to be exited if the monster enters the room. The key is denoted as an
integer when the game ends with treasure level. Located at the party is the maze game
contains for the location that leads to the exit. The player’s character is defined by the party
model and the two characters are belongs to the player’s character, non-player character and
playercharacter that carries shield. Different weapons and different armours are worn by the
various players. As the level increases so does the points for each level.
Domain Rules
For playing the game there are a set of rules to be followed. Different weapon and
different armour is worn by the player. Weapon are used for attack other players.
Conservation and hostility to the other players are the additional attributes for the Non
player’s character. Items, exits, description and non-player characters are present at every
location. Party which contains exits, description, items and non-player characters, are all
controlled by the player. The player receives the value listed on the weapons for any weapon
bought/ sold. For solving the problems, restoring the life points and unlocking doors are the
uses of the items.
Each string is defined by the combination of these models. Characters, monsters, dorm and
room are the parts on which the maze game is built. Players have to enter the room and
search for the keys and bowls. Integers represent the door, keys and bowls in the room.String
and Integer are the representation of the charactersof the players and attacking players. The
block monster and strike monster are the character functions. To enter the room the players
are fighting among themselves and they are going after keys so that they can continue to the
next level. The game has to be exited if the monster enters the room. The key is denoted as an
integer when the game ends with treasure level. Located at the party is the maze game
contains for the location that leads to the exit. The player’s character is defined by the party
model and the two characters are belongs to the player’s character, non-player character and
playercharacter that carries shield. Different weapons and different armours are worn by the
various players. As the level increases so does the points for each level.
Domain Rules
For playing the game there are a set of rules to be followed. Different weapon and
different armour is worn by the player. Weapon are used for attack other players.
Conservation and hostility to the other players are the additional attributes for the Non
player’s character. Items, exits, description and non-player characters are present at every
location. Party which contains exits, description, items and non-player characters, are all
controlled by the player. The player receives the value listed on the weapons for any weapon
bought/ sold. For solving the problems, restoring the life points and unlocking doors are the
uses of the items.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Design Model
Director and maze game are the things on which the Maze builder is based upon.
Maze builder is connected to both the space station builder and the dungeon builder. On the
maze builder interface we shall add the keys, room,monster and door points. Scores are
automatically updated and saved. Next level is automatically opened after completion of the
current level. Bonus point, time and total score are all displayed on the game. All the above
information is stored in the data base to finally display the final score.
Director and maze game are the things on which the Maze builder is based upon.
Maze builder is connected to both the space station builder and the dungeon builder. On the
maze builder interface we shall add the keys, room,monster and door points. Scores are
automatically updated and saved. Next level is automatically opened after completion of the
current level. Bonus point, time and total score are all displayed on the game. All the above
information is stored in the data base to finally display the final score.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Sequence Diagram
The GUI manager displayed the menu once the player starts the game. Data is
selected from the option after the player chooses the option. All the data is saved on the board
and the player can start the game (Prahardini & Sudaryono, 2018).
Conclusion
By using java programming language we have successfully developed and
implementedthe maze game. The programming language was the same as used in dungeons
and dragon’s game and, on which this game is based on. Player’s character, weapons, item
details, score and attacking character are all part of the game structure. The game starts as
soon as the player enters his name in text format. Player has to solve the maze game by
collecting objects, keys, items and moving around the maze room. Player when finished the
current level, will automatically be taken to the next level with the scores being automatically
The GUI manager displayed the menu once the player starts the game. Data is
selected from the option after the player chooses the option. All the data is saved on the board
and the player can start the game (Prahardini & Sudaryono, 2018).
Conclusion
By using java programming language we have successfully developed and
implementedthe maze game. The programming language was the same as used in dungeons
and dragon’s game and, on which this game is based on. Player’s character, weapons, item
details, score and attacking character are all part of the game structure. The game starts as
soon as the player enters his name in text format. Player has to solve the maze game by
collecting objects, keys, items and moving around the maze room. Player when finished the
current level, will automatically be taken to the next level with the scores being automatically

updated and saved. Various weapons and armours can be selected by the player to use them
in the game. Player keeps moving from one level to another till he reaches the final game.
We have thus, successfully, by using the Java programming language, developed and
implemented the Maze Game.
References
Karim, W., Farajallah, A., & Suryobroto, B. (2016). Exploration and prevalence of
gastrointestinal worm in buffalo from West Java, Central Java, East Java and Lombok,
Indonesia. Aceh Journal Of Animal Science, 1(1). doi: 10.13170/ajas.1.1.3566
Prahardini, P., & Sudaryono, T. (2018). The True Seed of Shalott (TSS) Technology
Production on Trisula Variety in East Java. Jurnal Pembangunan Dan Alam
Lestari, 9(1), 27-32. doi: 10.21776/ub.jpal.2018.009.01.05
in the game. Player keeps moving from one level to another till he reaches the final game.
We have thus, successfully, by using the Java programming language, developed and
implemented the Maze Game.
References
Karim, W., Farajallah, A., & Suryobroto, B. (2016). Exploration and prevalence of
gastrointestinal worm in buffalo from West Java, Central Java, East Java and Lombok,
Indonesia. Aceh Journal Of Animal Science, 1(1). doi: 10.13170/ajas.1.1.3566
Prahardini, P., & Sudaryono, T. (2018). The True Seed of Shalott (TSS) Technology
Production on Trisula Variety in East Java. Jurnal Pembangunan Dan Alam
Lestari, 9(1), 27-32. doi: 10.21776/ub.jpal.2018.009.01.05
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 9
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.




