美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇

代寫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)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

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

    美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇
    91人妻一区二区三区| 国产伦精品一区二区三区妓女 | 欧美日韩高清丝袜| 欧美激情图片小说| 欧美图片一区二区| 国产 中文 字幕 日韩 在线| 疯狂试爱三2浴室激情视频| 国产在线综合视频| 亚洲图片第一页| 欧美熟妇一区二区| 亚欧洲乱码视频| www.久久av| 国产精品成人一区二区三区电影毛片| 图片区偷拍区小说区| 午夜av入18在线| 男女性高潮免费网站| 女王人厕视频2ⅴk| 亚洲一区二区三区黄色| 朝桐光av一区二区三区| 国产麻豆剧传媒精品国产av| 亚洲熟妇一区二区| 国产精品成人99一区无码| 无码精品一区二区三区在线播放 | 中文字幕电影av| 国产视频精品免费| 中文字幕一二三区| 日韩少妇一区二区| 亚洲av无码一区二区三区人| 九九热免费在线| 538精品在线视频| 波多野结衣一二三区| 小早川怜子久久精品中文字幕| 国产av自拍一区| 日韩女优一区二区| 亚洲精品女人久久久| 在线观看日本中文字幕| 欧美色图17p| 稀缺小u女呦精品呦| 久久午夜精品视频| 性生交大片免费看l| 一色道久久88加勒比一| 中文字幕制服丝袜| 亚洲色图日韩精品| 亚洲精品视频大全| 中文字幕影音先锋| 女人十八毛片嫩草av| 亚洲日本久久久| 天堂网中文在线观看| 亚洲第一黄色网址| 熟妇女人妻丰满少妇中文字幕| 级毛片内射视频| 中文文字幕文字幕高清| 日韩女优一区二区| 登山的目的在线| 高清国产在线观看| 精品人妻互换一区二区三区| 成年人小视频在线观看| 人妻精油按摩bd高清中文字幕| 国产小视频你懂的| 自拍偷拍你懂的| a毛片毛片av永久免费| 好吊操视频这里只有精品| 潘金莲一级黄色片| 影音先锋男人资源在线观看| 99久久人妻无码精品系列| 日本50路肥熟bbw| 国产一区二区播放| 免费看的av网站| 麻豆精品一区二区三区视频| 少妇高潮惨叫久久久久| 中文字幕在线看高清电影| 永久免费成人代码| www..com.cn蕾丝视频在线观看免费版| 国产精品久久久久久久无码| 国产一级免费片| 亚洲国产第一区| 99久久精品免费视频| 日本一卡二卡在线播放| 九九九视频在线观看| 欧美自拍偷拍网| 欧美国产日韩在线观看成人| 深夜福利影院在线观看| 成人免费看片载| 在线观看亚洲大片短视频| 人妻互换一区二区激情偷拍| 亚洲怡红院在线观看| 国产调教打屁股xxxx网站| 四季av综合网站| 日本在线观看网址| 韩国三级丰满少妇高潮| 中国极品少妇videossexhd| 久久久久国产精品区片区无码| 51妺嘿嘿午夜福利| 欧美特级一级片| 一级黄色性视频| 久久av一区二区三| 国产精品酒店视频| 欧美深性狂猛ⅹxxx深喉| 小早川怜子一区二区的演员表| 337p日本欧洲亚洲大胆张筱雨| 菠萝菠萝蜜网站| 狂野欧美性猛交| 亚洲综合自拍网| 久久aaaa片一区二区| 四虎国产精品成人免费入口| 久久发布国产伦子伦精品| 一级在线观看视频| 800av在线播放| 久久综合桃花网| 你懂得视频在线观看| 国产精品1000部啪视频| 少妇aaaaa| 国产精品国产三级国产传播| 懂色av粉嫩av蜜乳av| 99热精品免费| 黄视频网站免费看| 精品亚洲乱码一区二区| 欧洲女同同性吃奶| 亚洲精品在线视频免费观看| 97成人资源站| 美国黄色小视频| 国产极品美女在线| eeuss中文字幕| 欧美xxxx精品| 欧美xxxooo| 日本爱爱小视频| av在线免费播放网址| 亚洲日本精品视频| 黄色av片三级三级三级免费看| 免费人成又黄又爽又色| 一级特黄曰皮片视频| 亚洲不卡的av| www.av免费| 国产av 一区二区三区| 91传媒免费观看| 2021亚洲天堂| 国产女主播在线播放| 中国特级黄色大片| 毛茸茸多毛bbb毛多视频| 波多野结衣有码| 国产传媒在线看| 超级砰砰砰97免费观看最新一期| 免费成人深夜夜行网站| 欧美性猛交xxxxx少妇| 亚洲欧洲日韩综合| 亚洲精品乱码久久久久久不卡 | 一二三四在线观看视频| 日本成人免费在线观看| 久久综合桃花网| 国产全是老熟女太爽了| 中文天堂资源在线| 午夜性福利视频| 亚洲精品色午夜无码专区日韩| 免费在线观看污| 91香蕉国产视频| 人妖粗暴刺激videos呻吟| 91网站免费入口| 午夜69成人做爰视频| a级大片在线观看| avove在线播放| 精品无码人妻一区二区免费蜜桃| 性爱在线免费视频| 精品中文字幕在线播放| 三级黄色免费观看| 亚洲永久无码7777kkk| 青青操在线视频观看| 成人h动漫精品一区| 欧产日产国产v| 国产精品久久久久无码av色戒| 美女的奶胸大爽爽大片| 老熟妇一区二区| 亚洲一区二区乱码| 国产精品嫩草69影院| 尤物在线免费视频| 日本高清www| 国精产品一区一区| 在线观看日韩精品视频| 亚洲乱妇老熟女爽到高潮的片| 99久久99久久精品免费看小说.| 久久人人妻人人人人妻性色av| 国产乱子轮xxx农村| 成人黄色免费网址| 日韩在线免费观看av| 亚洲av成人片色在线观看高潮| 黄色一级片中国| 亚洲欧美一区二区三区四区五区| av片在线免费看| 精品一区二区在线观看视频| xxxxx99| 成年人在线免费看片| 中国毛片在线观看| 免费看黄色的视频| 好吊视频在线观看| 中文字幕免费高清| 亚洲综合网在线观看| 久久久久久九九九九九| 少妇av片在线观看| 一区二区国产精品精华液| 欧美又粗又大又长| 国产美女视频免费观看下载软件|