久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产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

    久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

    色综合色综合色综合色综合| 久久精品网站视频| 日韩有码免费视频| 福利网在线观看| 国产成人久久婷婷精品流白浆| 中文av字幕在线观看| 91猫先生在线| 亚洲国产精品女人| 午夜免费福利在线| 男人插女人视频在线观看| 在线观看免费污视频| 内射国产内射夫妻免费频道| 99999精品| www黄色av| av日韩在线看| 中文 日韩 欧美| 免费在线观看毛片网站| 国产精品videossex国产高清 | 污污的视频免费观看| 国产亚洲精品网站| 天堂а√在线中文在线| 亚洲xxx在线观看| 97av视频在线观看| 久草免费福利在线| 97超碰免费观看| 午夜一区二区视频| 国产一二三四在线视频| 精品中文字幕av| 青青青在线观看视频| 桥本有菜av在线| 亚洲精品免费一区亚洲精品免费精品一区| 欧美a在线视频| 尤物av无码色av无码| 成年在线观看视频| 日韩精品第1页| 1314成人网| 天天干天天色天天干| 五月婷婷六月丁香激情| 欧美亚洲日本在线观看| 中文字幕第50页| 中文字幕免费高清在线| 一区二区在线播放视频| 成年人免费在线播放| 男的插女的下面视频| www.亚洲成人网| 欧美极品少妇无套实战| 中文字幕日韩精品无码内射| 在线无限看免费粉色视频| 亚洲精品在线视频播放| 九九九九九九九九| 久久人人爽人人片| 天美一区二区三区| 爱爱爱视频网站| 欧美激情第四页| 一区二区三区四区久久| 奇米777在线| 成人污网站在线观看| 欧美 国产 精品| 精品成在人线av无码免费看| 男女日批视频在线观看| 69sex久久精品国产麻豆| 成人午夜精品久久久久久久蜜臀| 国产一线二线三线女| 成人午夜精品久久久久久久蜜臀| 欧美极品欧美精品欧美| 18岁网站在线观看| 日韩 欧美 高清| 日本中文字幕精品—区二区| 日韩视频在线观看一区二区三区| 成年人免费观看的视频| 成人午夜免费在线视频| 免费在线观看亚洲视频| 国产一线二线三线在线观看| 在线免费看v片| 欧美黄网在线观看| 国产成人a亚洲精v品无码| 国产一级特黄a大片免费| 午夜大片在线观看| 国产欧美日韩小视频| 欧美亚洲国产成人| 色婷婷狠狠18| 国内外成人激情免费视频| 免费成人午夜视频| www.99在线| 一区二区三区四区免费观看| 男人的天堂狠狠干| 国产主播中文字幕| 400部精品国偷自产在线观看 | 91看片就是不一样| 亚洲黄色片免费看| 国产女主播自拍| 亚洲福利精品视频| 国产91在线亚洲| 88av.com| 在线免费观看视频黄| 天天av天天操| 五月丁香综合缴情六月小说| 国产又大又黄又粗又爽| 69精品丰满人妻无码视频a片| 92看片淫黄大片一级| 91网址在线观看精品| jizzjizz国产精品喷水| 亚洲黄色片免费| 久久精品免费一区二区| 国产黑丝在线视频| 国产成人无码一二三区视频| 久久精品国产精品亚洲精品色 | 日本www.色| 国产一二三四五| 韩国中文字幕av| 成人午夜视频在线观看免费| 91极品视频在线观看| 可以看毛片的网址| 男生操女生视频在线观看| 日韩精品综合在线| www.com污| 国产视频九色蝌蚪| 男同互操gay射视频在线看| 无遮挡又爽又刺激的视频| 2021狠狠干| av亚洲天堂网| 国产真实乱子伦| 日韩最新中文字幕| 免费看污污网站| 成人一对一视频| 粉嫩av一区二区三区天美传媒| 91淫黄看大片| 黄色一级片播放| 国产精品视频一二三四区| 亚洲综合婷婷久久| 日韩av播放器| 人妻少妇精品无码专区二区| 最近中文字幕免费mv| 香港日本韩国三级网站| av女优在线播放| 国产高清免费在线| 可以看污的网站| 天天操天天爽天天射| 男人日女人下面视频| 在线视频一二三区| 四虎1515hh.com| 国产美女视频免费看| 亚洲免费看av| 成年人在线看片| 凹凸国产熟女精品视频| 黄页免费在线观看视频| 美女av免费观看| 欧美一区二区三区综合| 日本高清免费在线视频| 色婷婷激情视频| 欧美视频亚洲图片| 天天操狠狠操夜夜操| 三级视频中文字幕| av网站在线不卡| 91精品无人成人www| 一区二区三区视频在线观看免费| 每日在线观看av| 成人av在线播放观看| 四虎4hu永久免费入口| 欧美精品一区二区性色a+v| 亚洲最新免费视频| 潘金莲一级淫片aaaaa免费看| 韩国黄色一级大片| av动漫在线播放| 免费视频爱爱太爽了| 国产又粗又猛又爽又黄的网站| 特大黑人娇小亚洲女mp4| av磁力番号网| 国产农村妇女精品久久| 中文字幕12页| 欧美国产日韩在线视频| 四虎精品欧美一区二区免费| 三上悠亚免费在线观看| 黄色一级片黄色| 欧美又粗又长又爽做受| av在线观看地址| 免费欧美一级视频| 国产又黄又猛视频| 亚洲欧美自偷自拍另类| 欧美又黄又嫩大片a级| 久久久久久久免费视频| 日韩成人手机在线| 人妻久久久一区二区三区| 成人在线免费在线观看| 爱情岛论坛成人| 激情久久综合网| 日韩极品视频在线观看 | 最新国产黄色网址| 性生活免费观看视频| 日本欧美黄色片| 欧美日韩大尺度| 亚洲高清av一区二区三区| 日韩成人午夜影院| 99福利在线观看| 日本 片 成人 在线| 香蕉视频免费版| 久久精品免费一区二区| 狠狠干狠狠操视频| 成人精品视频在线播放| 99视频在线免费|