亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

代寫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

    欧美久久成人| 福利一区二区免费视频| 欧美.www| 日本欧美日韩| 在线免费毛片| 色www精品视频在线观看| 国产高清不卡一区| 精品久久精品| 欧美一区 二区 三区| www.精品| 主播国产精品| 超碰在线公开超碰在线| 欧美男生操女生| 亚洲欧美日韩一区| 成人h动漫精品一区二区| 亚洲电影成人| 色呦哟—国产精品| 国产乱人伦精品一区| 天堂av中文在线观看| 你懂的视频在线| 精品国产乱码久久久久久图片| 国产精品国产自产拍高清av| 韩国视频一区二区| 日韩av懂色| 欧美1—12sexvideos| 欧美知名女优| 欧美成人三级电影在线| 91久久精品网| 亚洲成av人片一区二区梦乃| 欧美国产国产综合| 久久天堂av综合合色蜜桃网| 美女看a上一区| 亚洲黄色精品| 丰满白嫩尤物一区二区| 久久精品国产亚洲一区二区三区| 激情欧美亚洲| 亚洲欧美网站在线观看| 中文字幕av一区二区三区人| 国产一级免费在线观看| 欧美日韩在线精品一区二区三区激情综 | 欧美日本精品一区二区三区| 在线观看成年人视频| 欧美精品久久一区二区三区| 一级毛片高清视频| av中文字幕在线看| 91网页在线观看| av在线二区| 久久久久毛片| 影音先锋久久| 久久综合久久久久88| 成人精品免费看| 欧美日韩精品中文字幕| 亚洲综合视频在线| 亚洲综合激情另类小说区| 欧美一二三在线| 午夜爽爽爽男女免费观看影院| 91精品国产综合久久精品 | 久久成人精品| 久久精品1区| 亚洲欧美日韩国产一区二区三区| 欧美一级精品在线| 超碰97免费在线| 日本一区二区在线看| 小小影院久久| 国产日韩欧美一区在线| 秋霞成人午夜伦在线观看| 国产成人自拍高清视频在线免费播放 | 最新欧美电影| 日韩午夜高潮| 精品一区二区三区在线观看国产 | 日本精品600av| 日韩激情免费| 国产嫩草影院久久久久| 亚洲精品视频观看| 色噜噜狠狠色综合中国| 在线看黄色av| 日韩在线影院| 爽爽淫人综合网网站| 国产精品亚洲专一区二区三区 | 综合久久十次| 一区二区三区日韩| 777午夜精品免费视频| 日韩欧美亚洲一区| yw视频在线观看| 999福利在线视频| 日韩免费精品| 欧美精品尤物在线观看| 久久久国产一区二区三区四区小说 | 亚洲柠檬福利资源导航| 在线免费av观看| 免费成人结看片| 久久久久久免费| 亚洲高清成人影院| 免费网站在线观看人| 欧美美女福利视频| 精品一区二区三区免费| 天天操夜夜欢| 成人性生交大片免费观看网站| 国产精品天天摸av网| 国产一区二区三区四| 6080亚洲精品一区二区| 国产成人77亚洲精品www| 久久国产精品99久久久久久老狼| 51久久夜色精品国产麻豆| 456成人影院在线观看| av一区二区在线观看| 久久久亚洲人| 亚洲欧洲在线观看av| 欧美精品乱码久久久久久| 欧美三级精品| 99精品视频在线播放观看| 色婷婷一区二区| 久久91导航| 91年精品国产| 日韩视频一区二区| 看黄网站在线| 欧美日韩一区二区三区四区不卡| 老司机精品视频网站| 91精品国产aⅴ一区二区| 9l视频自拍九色9l视频成人| 久久九九电影| 精品国产亚洲在线| 国产欧美一区| 99riav久久精品riav| 性欧美孕妇孕交| 亚洲永久免费| 天天亚洲美女在线视频| 黄页网址在线观看| 婷婷综合社区| 欧美一级黄色片| 精品国产91久久久久久浪潮蜜月| 精品久久在线播放| 亚洲最大的免费视频网站| 国产模特精品视频久久久久| 欧美成人一区二区三区片免费| 三级小说欧洲区亚洲区| 成人蜜臀av电影| 国模吧精品人体gogo| 91成人在线精品视频| 一区二区三区不卡在线观看 | 精品国产91久久久久久浪潮蜜月| 色婷婷久久久综合中文字幕| 99国产精品免费网站| 一本久道久久综合中文字幕 | 日韩免费啪啪| 欧美wwwsss9999| 欧美性xxxxx| av在线视屏| 国产亲近乱来精品视频| 国产精品蜜臀| 国产精品久久三区| 成人日韩av| 成人一级黄色片| 日韩三级免费| 国产精品每日更新| 精品欧美日韩精品| 日韩人体视频一二区| 亚洲人成网www| 亚洲乱码国产乱码精品精的特点 | 成人在线黄色| 午夜视频一区二区| 免费欧美一区| 天天插天天色| 日韩国产精品久久| 欧美高清激情brazzers| 俺要去色综合狠狠| **孕交吃奶水一级毛片| 99精品国产高清一区二区麻豆| 色综合色综合色综合色综合色综合| 亚洲亚洲免费| 国产一级黄色片免费| 怕怕欧美视频免费大全| 日韩欧美色电影| 日韩高清国产一区在线| 国产最新在线| 精品在线亚洲视频| √天堂8资源中文在线| 亚洲一区二区视频在线观看| 国产一区二区精品久| 男女激情网站| 日韩在线理论| 波多野结衣av在线| 91在线视频在线| 亚洲色图综合| 欧美一区二区三区啪啪| 首页国产欧美日韩丝袜| free性欧美16hd| 在线亚洲精品福利网址导航| 国产精品a级| 成人免费观看www在线| 欧美理论视频| 日本在线丨区| 日韩二区在线观看| 在线观看爽视频| 精品视频999| 亚洲国产合集| 友田真希在线| 国产精品福利av| 中文字幕一区二区三区乱码图片 | av中文一区二区三区|