FIT2099 S2 2023

2023/9/9 13:03
FIT2099 S2 2023 – Ed Lessons
FIT2099 S2 2023 – Ed Lessons M
Discussion is set to require approval for new threads
REQ1: The Player
⻚一下 ⻚一上 片卡 程课
Assignment 1
Learning Outcomes & Materials
Introduction Designborne
REQ2: The Abandoned Village’s Surroundings
REQ3: The Wandering Undead
REQ4: The Burial Ground
REQ5: The Inhabitants of The Burial Ground
Submission Instructions Marking Rubric
Assignment 1 Q&A Session
REQ1: The Player
In “Designborne”, you play as “The Abstracted One”, who has been revived by an unknown entity in the starting location, “The Abandoned Village”.
At the beginning of the game, the player has 150 hit points (the health attribute) and 200 stamina. They start the game by waking up in the building in the middle of the map. A building is simply several squares of oor (`_`) and dirt (`.`), surrounded by walls (`#`). The display character of the player is
Figure 1. Example of buildings in the game (red squares). They consist of walls, dirt, and oor grounds. Since the actor cannot walk over the wall, a building may have various openings at various sides (replaced with dirt or oor). For example, the middle building has an opening on the south side (a oor _ ). The player starts the game in the building in the middle of the map(This image does not contain the player symbol).
The player can use their limbs to attack the enemies, dealing 15 damage with 80% attack accuracy.
Make sure to display the player’s hit points and stamina before printing the menu on the console!
In the building, there is a “Broadsword”, which is a starting weapon that the player can pick up and use to attack enemies. This weapon can deal 110 damage with 80% attack accuracy. This weapon is represented by the character “1”. It also has a special skill, “Focus”, that can increase the weapon’s damage multiplier by 10% for 5 turns and set (not increase) the weapon’s hit rate to 90% while the weapon is in the player’s inventory. If the player drops the weapon while the skill is active, the weapon’s damage multiplier and hit rate will revert back to the previous state.
Whenever the player uses “Focus”, which is the Broadsword’s weapon skill, their stamina is reduced by 20% of their maximum stamina.
At each turn, the player’s stamina will recover by 1% of their maximum stamina.
REQ1: The Player
For simplicity, If the player uses the skill again while the skill is still active, you can simply re-apply the damage multiplier increase and reset the turns back to 5. For example, if the weapon skill was activated once, the damage multiplier is up by 10% and assume that the skill has 2 turns left. If the skill is activated at this point, the damage multiplier is up by 20% (increased by another 10%), and the turns would be reset to 5.
You can assume that all weapons have either one skill or none. The stamina points used by activating weapon skills vary between dierent weapons.
https://edstem.org/au/courses/12156/lessons/37197/slides/259375 1/1

2023/9/9 13:03
FIT2099 S2 2023 – Ed Lessons
FIT2099 S2 2023 – Ed Lessons M
Discussion is set to require approval for new threads
REQ2: The Abandoned Village’s Surroundings
⻚一下 ⻚一上 片卡 程课
Assignment 1
Learning Outcomes & Materials
Introduction Designborne REQ1: The Player
REQ3: The Wandering Undead
REQ4: The Burial Ground
REQ5: The Inhabitants of The Burial Ground
Submission Instructions Marking Rubric
Assignment 1 Q&A Session
REQ2: The Abandoned Village’s Surroundings
After the player exits the building, they notice that there are several bottomless pits within the village. This bottomless pit is also known as the Void, and it is represented by the display character “+”. Any entity, including the player, will be killed if they step on it.
The player also notices that there are several graveyards in the village. The graveyard is displayed as “n”. As the player gets closer to one of the graveyards, a gure rises up and attacks the player! This is because the graveyard is occupied by the former inhabitants of the village (see REQ3). The graveyard can spawn this enemy with a 25% chance at every turn of the game.
If the player dies, make sure that the game ends and a “YOU DIED” message is displayed on the console (see the FancyMessage class).
REQ2: The Abandoned Village’s Surroundings
Edit (27/08/2023): For simplicity, you can assume that the graveyard can spawn a WanderingUndead with a 25% chance at every turn, regardless of the player’s location.
Hint: if you need to pass in arguments to a ground’s constructor, you can do the following
gameMap.at(30, 11).setGround(new ConcreteGround(input1, input2));
https://edstem.org/au/courses/12156/lessons/37197/slides/259376 1/1
CS Help, Email: tutorcs@163.com
2023/9/9 13:04
FIT2099 S2 2023 – Ed Lessons
FIT2099 S2 2023 – Ed Lessons M
Discussion is set to require approval for new threads
REQ3: The Wandering Undead
⻚一下 ⻚一上 片卡 程课
Assignment 1
Learning Outcomes & Materials
Introduction Designborne
REQ1: The Player
REQ2: The Abandoned Village’s Surroundings
REQ4: The Burial Ground
REQ5: The Inhabitants of The Burial Ground
Submission Instructions Marking Rubric
Assignment 1 Q&A Session
REQ3: The Wandering Undead
The rst enemy that the player encounters is the “Wandering Undead”, which is displayed as “t”. If the player is not within the surrounding of the enemy, it will wander around. However, when the player is nearby (within the surrounding of the enemy or one block away from the enemy), it will attack the player. This type of enemy has 100 hit points and can attack the player with its limbs, dealing 30 damage with 50% accuracy. An enemy cannot attack another enemy.
This enemy cannot enter a oor, represented by the display character “_”, so that the player can run back to safety if their health is low. Furthermore, both the player and the enemy cannot enter walls. They, however, can walk around freely in the Void*, on puddles and dirt.
* with consequences (see REQ2)
REQ3: The Wandering Undead
https://edstem.org/au/courses/12156/lessons/37197/slides/259377 1/1

2023/9/9 13:04
FIT2099 S2 2023 – Ed Lessons
FIT2099 S2 2023 – Ed Lessons M
Discussion is set to require approval for new threads
REQ4: The Burial Ground
⻚一下 ⻚一上 片卡 程课
Assignment 1
Learning Outcomes & Materials
Introduction Designborne
REQ1: The Player
REQ2: The Abandoned Village’s Surroundings
REQ3: The Wandering Undead
REQ5: The Inhabitants of The Burial Ground
Submission Instructions Marking Rubric
Assignment 1 Q&A Session
REQ4: The Burial Ground
After defeating the enemy, the player explores the deeper section of the village until they reach a locked gate (represented by the display character “=”), leading to a new region of the abandoned village, which is known as the burial ground. Since the gate is locked, the player will not be able to proceed without a key.
“………..+++++++……..~~~~~~++….~~”,
“………..++++++………~~~~~~+…..~~”,
“…………++++………..~~~~~……++”,
“…………+.+………….~~~…….++”,
“……….++~~~…………………..++”,
“………+++~~~….#######………..+++”,
“………++++~…..#_____#………+++++”,
“……….+++……#_____#……..++++++”,
“……….+++……###_###…….~~+++++”,
“……….~~…………………~~…++”,
“……….~~~………………++…….”,
“………..~~….~~~~~………++…….”,
“……~~….++..~~~~~~~~~~~……~……”,
“….+~~~~..++++++++~~~~~~~~~….~~~…..”,
“….+~~~~..++++++++~~~..~~~~~..~~~~~….”
REQ4: The Burial Ground
A sample burial ground map
The wandering Undead has a 25% chance of dropping an “Old Key” (represented by “-”) once they are defeated by the player. For the sake of simplicity, multiple key instances are expected in the game. The player can pick up this key and use it to unlock the gate leading to the burial ground.
The burial ground must be implemented as a new map (separate from the abandoned village map). Make sure to add another Gate in the Burial Ground map to go back to the Abandoned Village map. You can assume that this is a separate gate that the player also needs to unlock.
In this game, only the player is able to use the gate for travelling (once they have the old key). Other actors may step into the gate once it is unlocked, but they will not be able to use it for travel.
You can assume that the old key is reusable. That is, you don’t need to remove the old key from the player’s inventory after the player uses it.
https://edstem.org/au/courses/12156/lessons/37197/slides/259378 1/1
程序代写 CS代考 加QQ: 749389476
2023/9/9 13:04
FIT2099 S2 2023 – Ed Lessons
FIT2099 S2 2023 – Ed Lessons M
Discussion is set to require approval for new threads
REQ5: The Inhabitants of The Burial Ground
⻚一下 ⻚一上 片卡 程课
Assignment 1
Learning Outcomes & Materials
Introduction Designborne
REQ1: The Player
REQ2: The Abandoned Village’s Surroundings
REQ3: The Wandering Undead
REQ4: The Burial Ground
Submission Instructions Marking Rubric
Assignment 1 Q&A Session
REQ5: The Inhabitants of The Burial Ground
The graveyards in the burial ground are occupied by a dierent type of enemy, known as the Hollow Soldier, displayed as “&”. This type of enemy has 200 hit points and can attack the player with its limbs, dealing 50 damage with 50% accuracy. The graveyard can spawn this enemy with a 10% chance at every turn of the game.
Once defeated, this enemy has a 20% chance to drop a healing vial (represented by the display character “a”), which can be consumed by the player to heal 10% of their maximum health. It also has a 30% chance to drop a refreshing ask (represented by the display character “u”), which can be consumed by the player to increase their stamina by 20% of their maximum stamina. Each instance of both healing vials and refreshing ask can be consumed by the player only once.
The wandering Undead that the player met earlier in the Abandoned Village map (see REQ3), once defeated, also has a 20% chance to drop a healing vial. Similar to the Hollow Soldier, the calculation of the probability of the Healing vial dropping is independent of the Old key.
Similar to the wandering Undead (see REQ4), if the player is not within the surrounding of the enemy, it will wander around. However, when the player is nearby (within the surrounding of the enemy), it will attack the player. An enemy cannot attack another enemy.
This enemy cannot enter a oor, represented by the display character “_”, so that the player can run back to safety if their health is low. Furthermore, both the player and the enemy cannot enter walls. They, however, can walk around freely in the Void*, on puddles and dirt.
* with consequences (see REQ2)
REQ5: The Inhabitants of The Burial Ground
For simplicity, the calculation of the probability of each item dropping is independent of the other item, so the player can get lucky and get both items after killing one Hollow Soldier.
Healing vials and refreshing asks cannot be consumed directly from the ground. That is, they must be picked up by the player before being consumed.
https://edstem.org/au/courses/12156/lessons/37197/slides/259379 1/1
浙大学霸代写 加微信 cstutorcs