狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线

代寫FIT9131、Java程序設計代做

時間:2024-05-20  來源:  作者: 我要糾錯



FIT9131 Assignment B: Fellowship of Code: a Java Adventure in Middle Earth

Introduction

In preparing your program, please note the following:

You must use the workspace environment in the Ed platform to code all parts of your program. You must not copy and paste large sections of code from somewhere else. 

You must acknowledge all code in your assignment that you have taken from other sources.

The Java source code for this assignment must be implemented according to the FIT9131 Java Coding Standards. 

Only a text interface is to be used for this program.  More marks will be gained for a program that is easy to follow with clear navigation information and error messages.

In this assessment, you must not use generative artificial intelligence (AI) to generate any materials or content in relation to the assessment task.

Any points needing clarification may be discussed with your tutor in your applied learning class. You should not make any assumptions about the program without consulting your tutor.

Completion of this assignment contributes towards the following FIT9131 learning outcomes:

Design and construct Java programs according to standard object-oriented principles

Apply and demonstrate debugging processes to Java applications

Develop strategies for efficient and effective program testing

Document code according to specific programming standards

Identify and apply the "object-oriented" concepts of encapsulation, abstraction and polymorphism

Explain and apply software engineering principles of maintainability, readability and modularisation

Specification
For this assignment you will write a program to play a game Fellowship of Code: a Java Adventure in Middle Earth. This section specifies the required functionality of the program. 

Special Note: Before your Applied class in Week 11 there will be a small enhancement to the specification, so good design for your program will be important to allow easy modification to incorporate this change. 

Background
Fellowship of Code is a game where a group of adventurers go on a quest through a labyrinth in Middle Earth to deliver a secret code stored on a floppy disk to a Java wizard on Mount Api. During the quest the group must protect the secret code from being stolen by any evil creatures they encounter. The group of adventurers are known as the Fellowship. The Fellowship is led by a hobbit and other members of the group are elves and dwarves. The evil creatures that try to steal the code are orcs, trolls, and goblins. 

The aim of the quest is for the Fellowship to travel through a labyrinth and safely deliver the code. The labyrinth consists of a series of connected caves, with each one having at least one entry into another cave.  At least one of the caves will have an exit to Mount Api. The Fellowship must decide which option to take as they navigate through the labyrinth.   When entering a cave the Fellowship may encounter an orc, a troll or a goblin. As a consequence, they may suffer damage, and may have the code stolen from them. If the code is stolen then the Fellowship may try to steal it back if they encounter the same creature again. If any creature suffers too much damage, then they die and no longer participate in the game.  The game ends successfully when at least one of the Fellowship reaches Mount Api with the secret code to deliver to the Java wizard. 

Note that some of the characters and places in this assignment are taken from the "The Lord of the Rings" novels by  J.R.R. Tolkien.

This section specifies the required functionality of the program. Only a text interface is required for this program; however, more marks will be gained for a simulation that is easy to follow with clear information/error messages to the user.

Fellowship of code
The Fellowship of Code game is controlled by a player. The player chooses the members of the Fellowship, chooses which members of the Fellowship will fight and makes the navigation decisions.  The evil creatures appear randomly in each cave and the player must decide how to deal with them.  The structure of the labyrinth is pre-determined and is read in from a file.

Program start up 

The program begins by displaying a welcome message and brief instructions for the game. 

The player is prompted for the type of creatures they would like to have as members of the Fellowship. They can choose up to 4 members. The leader will be a hobbit and the remainder must be elves or dwarves, in any combination.  Each creature starts with no damage points and the following power ratings, which is used to determine their chances of winning a fight:

hobbit: power = 3 points

elf:   power = 5 points

dwarf: power = 7 points 

In addition, the hobbit and each elf will have a special weapon, which can be used once and will always win a fight. Dwarves have greater power but no special weapon.

The labyrinth structure is read in from a file labyrinth.txt. The file consists of a number of lines, with each line containing the details of one cave.  Each line has five comma separated integers: cave identity, north cave identity, east cave identity, south cave identity, west cave identity.  A zero value for a north, east, south, west cave identity means that the entry to the cave is blocked or there is no cave in that direction. A value of 100 is the identity of Mount Api.

A collection of caves is created from the details read from the file. Each cave will have the following details. 

cave identity:  an integer

north: identity of the northern cave or Mount Api, or 0 if the entry is blocked. 

east: identity of the eastern cave or Mount Api, or 0 if the entry is blocked. 

south: identity of the southern cave or Mount Api, or 0 if the entry is blocked. 

west: identity of the western cave or or Mount Api, or 0 if the entry is blocked. 

Living in the caves are orcs, trolls, and goblins. These are aggressive creatures that will fight to steal the code.  These creatures start with no damage points and the following power ratings:

orc:  power = 5

troll:  power = 9

goblin: power = 3

Note that these creatures do not have any special weapons. 

The game begins with the Fellowship entering the first cave with the secret code. The Fellowship navigates from cave to cave through the labyrinth until they reach Mount Api or die along the way. 

Specific actions in a cave

When the Fellowship enters a cave the following may occur:

1. There is a 75% chance of an orc, troll, or goblin being present in the cave.  No more than one creature will be in the cave. Each creature has the same probability of appearing. The creature remains in the cave for the duration of the game.

2. If there is no orc, troll, or goblin in the cave then:

the Fellowship members have a chance to recover and each member loses a damage point. Note that the damage points can't  be negative.

the Fellowship chooses the next cave to enter or takes the exit to Mount Api, if available.  

3. If there is an orc, troll, or goblin in the cave then this aggressive creature will fight to steal the code.  The player decides which member of the Fellowship will fight the creature.  Possible outcomes of the fight depend on the difference in power rating. If a creature has a power rating of:

4 or more points greater than their opponent, they have a 90% chance of winning.

3 or more points greater than their opponent, they have a 80% chance of winning.

2 or more points greater than their opponent, they have a 70% chance of winning.

1 or more points greater than their opponent, they have a 60% chance of winning.

equal to their opponent then each has a 50% chance of winning. 

4. A creature can use their special weapon once in the game. The special weapon will kill the opponent.

5. As a result of a fight:

The winner steals the secret code. 

The damage points of the winner is increased by 1 point.

The damage points of the loser is increased by 4 points.

The creature will die if a special weapon has been used against them.

6. A creature can use their special weapon once in the game. The special weapon will kill the opponent and there will be no damage to the creature that used the weapon.

7.  If a creature has 10 or more damage points then they unfortunately die and are no longer in the game. 

8.  If the last member of the Fellowship dies then the game ends.

9.  If the orc, troll, and goblin are all killed then the Fellowship can navigate the labyrinth safely until they reach Mount Api.

10.  After a fight the player chooses the next cave for the Fellowship to enter. 

If there is only one cave option then the Fellowship must enter this cave.

If there is an exit to Mount Api then the Fellowship may take this exit to deliver the secret code to the Java wizard and the game ends. 

If the Fellowship does not have the secret code then they would try to navigate back to the cave to steal back the code from the creature that has the code. 

11. After these events and before moving to the next cave, the following information is displayed:

a list of caves the Fellowship has visited showing whether there is a creature in the cave 

an indication of which creature holds the code

the damage points for each creature

the identity of the cave that the Fellowship will enter

Specific actions at the end of the game

At the end of the game a summary is displayed.

The outcome of the quest, whether it was successful or not and the creature that delivered the code

The number of caves visited by the Fellowship

The number of times the secret code changed hands

A list of the creatures that died.

The Fellowship fight success rate given as:  
 number of fights won by the Fellowship * 100 / total fights

A summary is written to the file fellowship.txt.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:ENG5284代做、代寫C++,Python/MATLAB編程
  • 下一篇:COMP30023代做、代寫C/C++編程語言
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • NBA直播 短信驗證碼平臺 幣安官網下載 歐冠直播 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线
  • <dl id="akume"></dl>
  • <noscript id="akume"><object id="akume"></object></noscript>
  • <nav id="akume"><dl id="akume"></dl></nav>
  • <rt id="akume"></rt>
    <dl id="akume"><acronym id="akume"></acronym></dl><dl id="akume"><xmp id="akume"></xmp></dl>
    青青在线视频观看| 成年人免费在线播放| 中文字幕国产高清| 国产情侣av自拍| 天天爽人人爽夜夜爽| 蜜桃福利午夜精品一区| 污污视频网站在线| 日本a在线免费观看| 丝袜老师办公室里做好紧好爽| www.浪潮av.com| 久久久久久综合网| av免费观看网| 亚洲男人天堂2021| 农村妇女精品一二区| 日韩在线一区视频| 国产av无码专区亚洲精品| 国产高清精品软男同| 性刺激的欧美三级视频| 日韩免费视频播放| 国产高清不卡无码视频| 国产精品免费观看久久| 久久婷婷五月综合色国产香蕉| 天天影视色综合| 成人免费无码av| 国产一二三四五| 超碰中文字幕在线观看| 国产精品12345| 亚洲a级黄色片| 天天干天天操天天玩| 俄罗斯av网站| 女人喷潮完整视频| www.亚洲天堂网| 免费看又黄又无码的网站| 成人在线播放网址| 精品国产一二三四区| 久久精品xxx| 欧美这里只有精品| 妞干网在线视频观看| 国产免费黄视频| 爱情岛论坛vip永久入口| 亚洲老女人av| 欧美美女黄色网| 欧美一级片免费播放| aⅴ在线免费观看| 亚洲 欧洲 日韩| 欧美韩国日本在线| 午夜两性免费视频| 国产欧美自拍视频| 国内自拍视频一区| 国产freexxxx性播放麻豆| 成人一级片网站| 日韩免费在线观看av| 最近免费中文字幕中文高清百度| 鲁一鲁一鲁一鲁一av| www黄色日本| 黄色aaaaaa| 手机免费av片| 少妇一级淫免费放| 免费在线a视频| 国产精品va在线观看无码| 天堂一区在线观看| 妓院一钑片免看黄大片| 99国产精品白浆在线观看免费| 九热视频在线观看| 宅男噜噜噜66国产免费观看| 日韩视频免费播放| 人妻久久久一区二区三区| 欧美大片免费播放| 欧美aaa在线观看| www.黄色网址.com| 国产精品igao激情视频| 日本天堂免费a| 丁香六月激情婷婷| 国产精品专区在线| 污污网站免费看| 亚洲综合激情五月| 男人添女人荫蒂免费视频| 欧美日韩在线视频一区二区三区| 日韩第一页在线观看| 中国一级黄色录像| 久久www视频| 91制片厂毛片| 91xxx视频| 欧在线一二三四区| 三级av免费看| 黄色免费视频大全| 狠狠操狠狠干视频| 国产深夜男女无套内射| 国产又大又黄又粗又爽| 丁香六月激情婷婷| 中文字幕在线视频一区二区| 四虎永久在线精品无码视频| 中文字幕中文在线| 男女午夜激情视频| 精品国产av无码一区二区三区| 国产成人无码精品久久久性色| 日本爱爱免费视频| 青青草成人免费在线视频| 丁香花在线影院观看在线播放| 日韩一级免费看| 欧美性视频在线播放| 亚洲五月天综合| 日韩极品视频在线观看| 国产又黄又猛的视频| 日韩爱爱小视频| 中文字幕第21页| 欧美三级午夜理伦三级富婆| 国产精品69页| 久久久久久三级| 天天干天天综合| 99re99热| 97超碰人人澡| 97公开免费视频| 香蕉视频xxxx| www.18av.com| 久草热视频在线观看| 少妇性l交大片| 亚洲精品mv在线观看| 2022中文字幕| 日韩免费毛片视频| 在线视频观看一区二区| 天天操夜夜操很很操| av一区二区三区免费观看| 99久久久精品视频| 午夜在线观看av| 免费看国产一级片| 久久婷婷中文字幕| 黄色国产一级视频| 欧美日韩一区二区三区电影| 成人午夜免费在线| 裸体大乳女做爰69| 久久久久久久久久久久久久久国产 | 红桃av在线播放| 久久男人资源站| 色综合五月婷婷| youjizzxxxx18| 熟女人妇 成熟妇女系列视频| 糖心vlog在线免费观看| 91制片厂免费观看| 国产福利精品一区二区三区| 最新av网址在线观看| 黄色aaaaaa| 日韩在线一级片| 国产精品沙发午睡系列| 神马午夜伦理影院| 欧美乱做爰xxxⅹ久久久| 手机成人av在线| 潘金莲一级淫片aaaaaa播放1| 91香蕉视频污版| 9l视频白拍9色9l视频| 日本美女视频一区| 制服丝袜综合网| 国产黄色片免费在线观看| 黄色片网址在线观看| 异国色恋浪漫潭| 视色,视色影院,视色影库,视色网 日韩精品福利片午夜免费观看 | wwww.国产| 国产成人美女视频| 欧美成人三级在线播放| 性鲍视频在线观看| 国产伦精品一区二区三区四区视频_| 蜜臀av色欲a片无码精品一区| 日韩黄色片视频| av噜噜在线观看| 久激情内射婷内射蜜桃| 五月天婷婷亚洲| www.日本在线视频| 毛葺葺老太做受视频| 看全色黄大色大片| 欧美激情精品久久久久久小说| 中文字幕久久av| 国产精品无码av在线播放| www.夜夜爽| 香港三级韩国三级日本三级| 日韩va在线观看| 日本中文字幕网址| 亚洲自拍第三页| 国产aaa一级片| 国产乱子伦精品无码专区| 久久撸在线视频| 日本一区二区黄色| 黄色污污在线观看| 亚洲免费999| 日本成人在线免费视频| 神马午夜伦理影院| 中文字幕精品一区二区三区在线| 久操网在线观看| 国产a级黄色大片| 婷婷视频在线播放| 在线观看中文av| 国产高清视频网站| 亚洲一二三区av| 亚洲国产精品毛片av不卡在线| av一区二区三区免费观看| 99视频在线观看视频| 日本在线一二三区| 天天干天天操天天做| 色哟哟精品视频| 自拍偷拍21p| 在线免费观看av网|