Computing Documentation
Computing Documentation
Table Of Contents
CHAPTER 1: DEFINITION OF THE PROBLEM..........................................................2
DESCRITION OF THE SCOPE OF THE PROBLEM TO BE TACKLED.......................2
STATEMENT OF THE RESULTS REQUIRED..........................................................3
DETAILS OF THE INPUT INFORMATION REQUIRED...........................................5
Chapter 2: Solution of The Problem.....................................................................8
ALGORITHM DESIGN..........................................................................................9
COMPUTER LISTING OF THE PROGRAM..........................................................10
DETAILS OF ANY SPECIAL DESIGN FEATURES..................................................22
1|Page
Leonardo Distinto (0142061A) SEC Computing 2024
2|Page
Leonardo Distinto (0142061A) SEC Computing 2024
Dungeon Run is a cool game in which you'll try to escape from a prison filled with monsters. You'll
have to overcome different challenges to escape and find out who is trying to kill you. If you mess
up, the game gives you another chance using for and while loops. Thanks to the arrays, you'll also
have an inventory where you can store your stuff, thanks to arrays. When you have to make choices
in the game, if statements help you decide what you do.
Anyone who likes to play text-based adventure escape games, like gamers or just people who like
that sort of thing, can play this project. When you start the game, the main menu has only two
options, "1) Tutorial" and "2) Start Playing" The tutorial is for beginners who don't know how to play,
and explains everything. If you already know how to play, you can simply choose the second option
and jump right into the game.
I chose this project because I love making video games and playing my own creations. It's also fun to
share them with others and see how they like it. I decided to use the Java programming language
because it's powerful, fast, and it's commonly used for game development.
One of the advantages of playing this game on a computer is that you can play it anywhere without
worrying about losing small pieces. Another advantage is that the computerized version prevents
cheating, so everyone plays fairly.
Method: FightMonsterXylo()
Method: RightLeftHallway
3|Page
Leonardo Distinto (0142061A) SEC Computing 2024
Method: FindingScrewdriver()
Method: GuessPassword()
Method: KnifeInventory()
Method: CDuse
Method: RightHallway()
Method: LeftHallway()
4|Page
Leonardo Distinto (0142061A) SEC Computing 2024
Method: Tutorial()
Method: IronOrWood()
Method: FightMonsterXylo()
Method: RightLeftHallway()
Method: FindingScrewdriver()
5|Page
Leonardo Distinto (0142061A) SEC Computing 2024
Method: OpeningVent()
Method: GuessPassword()
Method: VaultOpened()
Method: KnifeInventory()
Method: CDinventory()
Method: CDuse
6|Page
Leonardo Distinto (0142061A) SEC Computing 2024
Method: RightHallway()
Method: LeftHallway()
7|Page
Leonardo Distinto (0142061A) SEC Computing 2024
8|Page
Leonardo Distinto (0142061A) SEC Computing 2024
ALGORITHM DESIGN
Main Menu Flowchart:
9|Page
Leonardo Distinto (0142061A) SEC Computing 2024
10 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
11 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
12 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
13 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
14 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
15 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
16 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
17 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
18 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
19 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
20 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
Class: mainGame
21 | P a g e
Leonardo Distinto (0142061A) SEC Computing 2024
- Decorated interface: There was decorated interface in the “Logo()” method, where it
displays the logo of the game, and the “Tutorial()” method, where there is a frame to
the rules as decoration
22 | P a g e