日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

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

    日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

              好吊日精品视频| 麻豆av一区二区三区久久| 在线一区二区日韩| 亚洲日本欧美| 亚洲一区二区在线视频| 午夜精品福利一区二区三区av| 香蕉尹人综合在线观看| 久久久最新网址| 欧美电影免费观看高清完整版| 欧美另类综合| 国产日韩欧美不卡在线| 在线观看精品| 夜夜爽www精品| 欧美诱惑福利视频| 母乳一区在线观看| 欧美特黄一级| 在线欧美影院| 国产精品99久久久久久久女警| 亚洲嫩草精品久久| 美日韩精品免费| 国产精品一区二区a| 亚洲国产99| 午夜日韩av| 欧美精品自拍偷拍动漫精品| 国产午夜精品福利| 日韩视频免费大全中文字幕| 欧美一区激情| 欧美日韩国产色综合一二三四| 国产偷国产偷精品高清尤物| 亚洲免费观看高清在线观看 | 国产一区激情| 日韩一级黄色片| 久久综合99re88久久爱| 欧美私人啪啪vps| 亚洲国产欧美一区| 久久成人国产| 国产精品国产三级国产专播品爱网 | 国产一区二区三区网站 | 久久―日本道色综合久久| 欧美激情一区在线观看| 国产主播精品| 欧美亚洲在线观看| 国产精品人成在线观看免费| 一本色道久久综合狠狠躁篇怎么玩 | 激情欧美亚洲| 亚洲欧美国产制服动漫| 欧美日一区二区在线观看 | 亚洲精品孕妇| 玖玖精品视频| 激情综合网激情| 久久久久久成人| 国模私拍一区二区三区| 欧美在线二区| 国产日韩在线一区| 欧美一区视频在线| 国产亚洲精品久久飘花| 午夜精品久久久久久99热| 国产精品腿扒开做爽爽爽挤奶网站| 亚洲级视频在线观看免费1级| 久久精品一本| 韩日欧美一区| 久久婷婷色综合| 伊人久久大香线| 欧美亚洲在线视频| 欧美日韩精品伦理作品在线免费观看| 激情久久一区| 免费在线成人| 欧美日韩免费高清一区色橹橹| 国内揄拍国内精品少妇国语| 欧美一级日韩一级| 国产精品video| 亚洲女同精品视频| 国产一区二区看久久| 久久全国免费视频| 亚洲激情视频在线播放| 欧美大片va欧美在线播放| 亚洲另类一区二区| 国产精品一区二区久久久| 久久av二区| 在线播放国产一区中文字幕剧情欧美 | 国产精品一区二区三区久久| 久久久国产一区二区三区| 韩国一区二区在线观看| 欧美寡妇偷汉性猛交| 亚洲图片欧洲图片av| 黄色日韩网站| 欧美福利视频在线| 午夜激情综合网| 亚洲高清网站| 国产精品v日韩精品| 久久精品导航| 一本到12不卡视频在线dvd| 国产精品一区二区三区观看| 蜜臀久久99精品久久久久久9 | 欧美在线亚洲综合一区| 亚洲精品国产精品乱码不99按摩| 欧美日韩一区二区三区四区五区| 久久精品盗摄| 在线亚洲美日韩| 在线精品高清中文字幕| 国产精品久久999| 玖玖视频精品| 亚洲欧美中日韩| 亚洲乱码国产乱码精品精天堂| 国产一区二区在线观看免费| 免费人成网站在线观看欧美高清| 日韩一级片网址| 好吊妞这里只有精品| 国产精品久久久久av| 欧美精品黄色| 美女视频一区免费观看| 西西人体一区二区| 亚洲国产精品一区二区www| 国产伦一区二区三区色一情| 欧美三级视频在线播放| 免费一级欧美片在线观看| 香蕉久久夜色精品| 中文高清一区| 日韩一本二本av| 亚洲国产日韩精品| 一区二区三区在线免费观看| 国产日韩精品综合网站| 国产欧美日韩另类一区| 欧美丝袜一区二区三区| 欧美午夜精品久久久久久久| 欧美激情成人在线| 欧美岛国激情| 欧美xart系列在线观看| 久久综合五月| 麻豆国产va免费精品高清在线| 欧美有码在线视频| 亚洲性视频网站| 亚洲欧美伊人| 午夜欧美电影在线观看| 新片速递亚洲合集欧美合集| 亚洲欧洲av一区二区三区久久| 一区二区日韩伦理片| 一区二区三区四区蜜桃| 亚洲一区在线观看视频| 亚洲素人一区二区| 午夜日韩福利| 久久久激情视频| 美女网站久久| 欧美日本韩国一区二区三区| 欧美视频久久| 国产日韩精品久久久| 国产一区二区在线免费观看| 狠狠色狠狠色综合日日tαg| 亚洲国产精品成人综合| 亚洲免费不卡| 亚欧成人在线| 免费观看成人网| 欧美日韩精品欧美日韩精品 | 精品91免费| 亚洲国产综合在线| 亚洲图片在线观看| 久久aⅴ国产紧身牛仔裤| 久久在线视频在线| 欧美精品久久久久久久免费观看| 欧美色区777第一页| 国产性做久久久久久| 91久久夜色精品国产九色| 一本色道久久88综合日韩精品 | 黑人巨大精品欧美一区二区| 91久久线看在观草草青青| 99精品久久久| 久久精品国产欧美亚洲人人爽| 久久嫩草精品久久久精品| 欧美日韩人人澡狠狠躁视频| 国产精品永久免费在线| 亚洲欧洲精品一区二区三区不卡 | 一区二区三区精品国产| 欧美在线看片| 欧美日韩久久不卡| 一区在线免费| 亚洲影院在线| 欧美精品免费播放| 国产手机视频精品| 中文亚洲字幕| 欧美aa在线视频| 国产视频在线观看一区二区| 亚洲乱码精品一二三四区日韩在线| 欧美亚洲一区在线| 欧美日韩国产综合视频在线观看中文 | 欧美.www| 国产一区二区三区免费不卡| 一本色道久久综合亚洲精品按摩| 久久一二三区| 国产亚洲成av人片在线观看桃| 亚洲国内在线| 老司机久久99久久精品播放免费| 国产精品美女| 亚洲天堂免费观看| 欧美女同视频| 亚洲激情网站免费观看| 欧美专区日韩专区| 国产精品私拍pans大尺度在线 | 亚洲成色999久久网站| 欧美一区=区| 国产欧美日韩一区二区三区在线|