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

CHC5028代做、C/C++程序設(shè)計代寫

時間:2023-11-03  來源:  作者: 我要糾錯


CHC5028代做、C/C++程序設(shè)計代寫
CHC5028 Software Development with
C/C++
Coursework
Important Dates
Week 5 (30/10/2023-3/11/2023): Mandatory demonstration of Exercise 1, feedback with
preliminary marks.
Week 10 (4/12/2023-8/12/2023): Mandatory demonstration of Exercise 2, feedback with
preliminary marks.
Week 12 (18/12/2023-22/12/2023): Final demonstration and submission.
Background
“Text adventures”, now called “interactive fiction”, were among the first type of computer
game ever produced. These games have no graphics; the player reads the story of the
game in text, and decides what their character will do by typing commands at a prompt.
Although less popular now, text adventures are still played and created, and developed
into the original online RPGs (MUDs). You can play some sample modern text
adventures here:
A Change in the Weather, Spider and Web, Slouching Towards Bedlam, 北大俠客行
These are playable online via a web browser. It is advisable to try out the games to get
an understanding of how the games behave.
For this coursework, you will be creating a simple game engine for a text adventure.
You are not required to write an actual adventure, only the back-end program code that
would support one. You will need to add some material to the program in order to test it,
but this may just be simple test material. You may add interesting descriptions or stories
to your program if you want to, but there are no marks for doing so.
You are provided with a CLion project containing a very simple game harness which
supports only two commands: going north (north or n), and quitting (quit). Extend it
by doing the exercises below. Note that the later exercises are less explicitly described
than the earlier ones, meaning that you must solve more problems yourself. This is
intentional.
The coursework is written to be built using gcc through CMake and CLion. It is not
recommended that you attempt to build it using Visual Studio or XCode.
Important: If you are building the sample coursework on a platform other than
Windows, or on a machine which does not have the Windows API installed, you may
get an error in the file wordwrap.c. This file calls a Windows specific function to find the
width of the console. If you get this error, remove the #include <windows.h> from
the top of the file, and edit the initWordWrap() function by deleting its contents and
replacing them with consoleWidth = 80; currentConsoleOffset = 0;. You
can change 80 here to any number that makes the output comfortably readable.
Exercise 1 (10% of the mark)
In the current system you can only move North. Extend the engine to allow movement in
all four compass directions.
• Add properties to the Room class for storing east, south, and west exits. These
properties will need accessor methods. (3%)
• Add code to the gameLoop method to understand the commands east, south, and
west (and the abbreviations e, s and w) and to handle them in a similar way to
north. (3%)
• Modify initRooms to create more rooms using the new exits in order to test your
code. (2%)
• Find a more elegant way of implementing these exits which does not repeat code.
[Hint: Traversing through map structures/strings, etc. can be considered.] (2%)
Exercise 2 (50% of the mark)
A key part of most text adventure games is the ability to move objects around. Objects
can be found in rooms and can be picked up and put down by the player. Add this
capability to the game engine.
• Create a GameObject class. It should contain at least a short name, a long
description, and a keyword (for the player to use when typing commands). (5%)
• Modify the Room class so that each Room includes a list of GameObjects in the
room. (2%)
• Modify the State class to include a representation of a list of GameObjects the
player is carrying, called inventory. (2%)
• Modify the State class to include a representation of the player’s physical
strength, called strength, which is initiated as 100. (2%)
• Modify the gameLoop method to reduce strength by 1 per minute, when
strength goes to 0, the program shall be terminated. (5%)
• Create a derived class FoodObject of GameObject class, it should contain an
integer-type property named energy which should be limited in a range of 1-
10. (5%)
• Modify the Room::describe() method to also print out the short names of all the
objects in the room, formatted as nicely as possible. (2%)
• Modify the gameLoop method to pay attention to the second word of the command
the player enters, if there is one. (5%)
• Modify the gameLoop command to search through a) objects in the current room,
and b) objects in the inventory, for an object with a keyword matching the second
word of the command the player typed. (5%)
• Implement the player command get which, when typed with an object keyword, will
move that object from the current room list into the inventory. It should display
appropriate errors if the object is not in the room or the object is already in the
inventory or the object does not exist. (5%)
• Implement the player command drop which, when typed with an object keyword,
will move that object from the inventory into the current room list. It should display
appropriate errors if the object is not in the inventory or already in the room, or does
not exist, etc. (5%)
• Implement the player command inventory which will print out the short names of
all the objects in the inventory. (2%)
• Implement the player command examine which, when typed with an object
keyword, will print out the long description of that object. (2%)
• Implement the player command eat which, when typed with a food object
keyword, will print out the player’s strength after adding the energy of the
food object to the player’s strength, which should not exceed 100. (3%)
• Modify initRooms to create some GameObjects and FoodOjects and put them
in the rooms. Use this to test your program. (No marks are assigned specifically for
this task, but without it, the ones above cannot be demonstrated.)
Exercise 3 (40% of the mark)
Since most players will not want to play an entire game at one sitting, most games
include save and load (or restore) commands. Implement these commands. They
should ask the user for a filename and then write or read the current game state, to or
from that file.
Note that the layout and descriptions of rooms, and the list and descriptions of objects,
are not part of the game state because they do not change during the game. These
should not be included in the save file and saving them will lose marks.
A simple file open, load, and save does not guarantee full marks and may not
guarantee “a good mark”.
To this end, some important points to consider:
• The “game state” may also include the locations of objects the player has dropped in
rooms. Would it be a good idea to restructure how object locations are stored?
• The State object stores the current room, and objects, using pointers. Pointers
cannot safely be written to disk since addresses may be different when the program
is reloaded. How can you enable this data to be safely saved and reloaded?
• It is worth ensuring to some degree that the user cannot readily cheat, or spoil the
game, by reading or changing a save file. While it is not necessary to implement
actual authentication or encryption but at the same time, the file does not have to be
just a text dump. This actually makes it harder to parse when loaded. So, for
example, saving the required indexes into a static array of strings may be a better
way than saving the strings themselves.
Marking scheme for this section:
• 5% for basic correct structure of I/O.
• 5% for handling errors appropriately.
• 10% for the file format designed for storing the saved game.
• 10% for the code that performs the save.
• 10% for the code that performs the load.
Assessment Rules
Code will be assessed by a demonstration and viva in week 12. You will be asked to
demonstrate your code and to explain how it works. There is no hard division of marks
between code and viva.
If you cannot explain your code sufficiently well to satisfy the assessor that it is
your own work, they have the right to award 0 marks for that exercise, regardless
of the quality of the code.
The fact that your code works does not guarantee full marks. All code is expected
to also be readable, maintainable, and efficient. You are not required to exactly follow
the steps in the exercises above. Alternative designs are also acceptable if they can be
justified in the viva. However, designs which substantially reduce efficiency or other
desirable properties without corresponding benefit will lose marks.
In addition to final submission in Week 12, there will be two mandatory feedback
sessions as follows:
• Week 5(30/10/2023-3/11/2023):
Exercise 1 will need to be demonstrated.
• Week 10(4/12/2023-8/12/2023):
Exercise 2 will need to be demonstrated.
During these two weeks, you must demonstrate your coursework and you will be given
a preliminary mark, and detailed feedback.
• The deadline for submission of the coursework is Week 12.
• In Week 12 you will also be required to demonstrate the final version of
your work, and verbal feedback will be given.
Exercise 2 needs to be demonstrated in Week 10, and not in Week 5, although general
queries can be discussed.
Exercise 3 does not need to be not demonstrated in Weeks 5 or 10, although you may
demonstrate it for feedback if you wish. Its contribution to the mark is not subject to the
cap, although it will be difficult to score highly on Exercise 3 if you did not complete
Exercises 1 and 2.
Notice on presentation and submission.
You do not need to give a presentation nor submit a report for either section of the
coursework. This coursework’s focus is on the quality of your final code and on your
ability to understand it, not your software engineering process (which is not expected to
be standard when you are learning the language).
Standard rules on plagiarism apply to this coursework.
The Code should be your own work and must not be copied from the internet or
any other source. If you have difficulty with the coursework, you should approach your
practical tutor in the first instance. Posting questions about the coursework on Stack
Overflow, Quora, or similar sites may be treated as an incitement to plagiarism. Posting
parts of your answer to the coursework on the publicly available internet where other
students may access it will be treated asan incitement to plagiarism. Soliciting or
obtaining answers to the coursework in exchange for money and any other
consideration will be treated as serious academic misconduct. Asking for coursework
answers from any party outside of the University is itself attempted plagiarism and you
should not do it; if that third party commits any of theoffenses in this section on your
behalf, you may be held responsible, even if you were not directly aware they would do
so (because you should not have asked them in the first place).
Assignment Data
Contact person Leon Liang, leon@zy.cdut.edu.cn
Learning outcomes See below.
Formative deadlines Week 5 (30/10/2023-3/11/2023):
Exercise 1 (Demonstration)
Week 10 (4/12/2023-8/12/2023):
Exercise 2 (Demonstration)
Formative feedback Week 5 (30/10/2023-3/11/2023):
Exercise 1 (Spoken interactive)
Week 10 (4/12/2023-8/12/2023):
Exercise 2 (Spoken interactive)
Summative deadline Week 12 (18/12/2023-22/12/2023)
Demonstration and Submission
Summative feedback Week 12 (18/12/2023-22/12/2023)
Spoken interactive
Final marks after assessment committees
Assignment Weighting 50% of module
Learning Outcomes
• Understand the fundamental concepts of C and C++ programming for object
manipulation, data structuring and input/output control.
• Refine a problem specification into a collection of C++ classes.
• Create a software artifact specified in terms of C++ objects and their interrelations.
• Research the techniques for safe and efficient programming in C and C++.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

標(biāo)簽:

掃一掃在手機打開當(dāng)前頁
  • 上一篇:指標(biāo)代寫代寫機構(gòu)進倉副圖 指標(biāo)公式
  • 下一篇:代寫CE4703、C++設(shè)計編程代做
  • 無相關(guān)信息
    昆明生活資訊

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

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

              9000px;">

                        亚洲婷婷综合色高清在线| 奇米一区二区三区av| 亚洲成人三级小说| 91精品国产手机| 国产乱对白刺激视频不卡 | 国产乱码一区二区三区| 在线看日本不卡| 一区二区在线观看视频| 7777精品伊人久久久大香线蕉的| 国产精品萝li| 在线精品国精品国产尤物884a| 国产午夜精品久久| 99久久99久久免费精品蜜臀| 久久久久久久久97黄色工厂| 在线日韩一区二区| 国产伦精一区二区三区| 欧美精品一区二| 91麻豆国产福利在线观看| 日韩成人午夜电影| 中文字幕中文字幕一区二区| 欧美一区二区精品久久911| 国产v综合v亚洲欧| 久久久综合精品| 美国欧美日韩国产在线播放| 欧美国产乱子伦| 欧美一区二区三区啪啪| 一本大道久久a久久综合| 久久国产福利国产秒拍| 欧美tickling网站挠脚心| 99综合影院在线| 秋霞国产午夜精品免费视频| 亚洲精品国产成人久久av盗摄| 色综合天天天天做夜夜夜夜做| 中文字幕在线不卡一区二区三区| 成人精品视频一区二区三区 | 在线播放欧美女士性生活| 成人精品国产免费网站| 国产欧美一区二区三区在线老狼 | 欧美三级电影精品| 成人午夜免费电影| 国产大陆亚洲精品国产| 国产一区二区三区蝌蚪| 奇米影视一区二区三区| 亚洲va天堂va国产va久| 亚洲午夜久久久久久久久电影院 | 国产91精品在线观看| 国产精品免费视频一区| 久久久久久久久免费| 日韩一级片网站| 欧美一级欧美三级| 国产成人亚洲精品青草天美| 亚洲精品日韩一| 国产精品免费丝袜| 国产精品青草久久| 一色屋精品亚洲香蕉网站| 国产精品久久久久影院老司 | 亚洲午夜激情av| 一区二区三区波多野结衣在线观看 | 欧美a一区二区| 久久精品欧美一区二区三区不卡 | 亚洲午夜激情网站| 亚洲精品一卡二卡| 一二三区精品视频| 亚洲成人中文在线| 美女视频免费一区| 亚洲天堂网中文字| 日韩你懂的在线播放| 91丝袜呻吟高潮美腿白嫩在线观看| 亚洲成人久久影院| 五月天一区二区三区| 免费欧美日韩国产三级电影| 国产精品一区二区男女羞羞无遮挡| 一区二区三区av电影| 亚洲国产aⅴ成人精品无吗| 青青国产91久久久久久| 国产mv日韩mv欧美| 麻豆精品视频在线| jlzzjlzz亚洲日本少妇| 91麻豆精品国产91久久久久久久久| 99精品热视频| 国产福利一区在线观看| 91啪在线观看| 精品国偷自产国产一区| 亚洲欧洲韩国日本视频| 亚洲超丰满肉感bbw| 国产成人av影院| 欧美日韩高清一区二区不卡| 在线观看91视频| 久久色在线观看| 亚洲一区二区三区免费视频| 国产伦精品一区二区三区在线观看| 亚洲午夜免费电影| 国产综合久久久久影院| 欧美色图天堂网| 欧美高清在线一区| 爽爽淫人综合网网站| 高清不卡在线观看| 69堂成人精品免费视频| 亚洲色欲色欲www| 国产成人综合视频| 欧美不卡123| 日韩成人免费在线| 欧美日韩一区二区电影| 国产精品久久久久久久蜜臀| 久久精工是国产品牌吗| 欧美性受xxxx| 亚洲男人都懂的| 国产精品中文字幕欧美| 欧美一区二区性放荡片| 亚洲精品国产一区二区三区四区在线| 一区二区三区精品久久久| 国产一区二区三区电影在线观看 | 秋霞电影一区二区| 91麻豆精品秘密| 中文字幕国产一区| 亚洲欧洲99久久| 亚洲人成精品久久久久久| 国产精品一区二区在线观看不卡| 丁香五精品蜜臀久久久久99网站| 91小视频免费观看| 国产欧美日本一区二区三区| 国产一区二区视频在线播放| 精品免费日韩av| 亚洲免费在线视频| 色综合久久天天综合网| 成人免费在线视频| 99麻豆久久久国产精品免费优播| 色噜噜久久综合| 欧美成人一区二区三区在线观看| 欧美国产禁国产网站cc| 国产**成人网毛片九色 | 欧美一二三四区在线| 日本不卡123| 日韩欧美www| 韩国欧美国产1区| 欧美午夜电影网| 久久一二三国产| 夫妻av一区二区| 1024成人网| 国产精品66部| 中文字幕一区二区视频| 色老头久久综合| 久久精品亚洲乱码伦伦中文 | 2021国产精品久久精品| 国产精品国产三级国产普通话三级| 日韩中文欧美在线| 日韩精品一区二区三区视频| 亚洲男人电影天堂| 欧美日韩精品一区二区在线播放| 国产精品传媒入口麻豆| 欧美亚洲日本国产| 麻豆一区二区在线| 国产精品免费看片| 制服.丝袜.亚洲.中文.综合| 国产精品99久久久久久有的能看 | 亚洲欧美综合网| 91麻豆精品国产无毒不卡在线观看| 亚洲欧美另类在线| 日韩欧美在线1卡| 日韩福利视频网| 国产亚洲欧美色| 国产在线不卡视频| 一区二区在线观看视频在线观看| 夫妻av一区二区| 夜夜嗨av一区二区三区| 久久网站热最新地址| 一本大道av伊人久久综合| 裸体健美xxxx欧美裸体表演| 亚洲四区在线观看| 精品久久人人做人人爱| 日本高清不卡aⅴ免费网站| 狠狠网亚洲精品| 亚洲成av人在线观看| 欧美日韩免费观看一区三区| 亚洲一区自拍偷拍| 久久精品在线观看| 制服.丝袜.亚洲.另类.中文| 99vv1com这只有精品| 国模无码大尺度一区二区三区| 26uuu国产电影一区二区| 国产在线看一区| 亚洲成人动漫一区| 亚洲色图在线播放| 欧美吞精做爰啪啪高潮| www.日韩大片| 国产成人精品影视| 国产精品亚洲一区二区三区在线| 国产欧美日韩综合精品一区二区| 国产成人精品免费看| 蜜桃视频一区二区三区在线观看| 精品国产91九色蝌蚪| 欧美精品乱人伦久久久久久| 美女视频黄久久| 欧美极品少妇xxxxⅹ高跟鞋| 日韩一级精品视频在线观看| 欧美日韩久久一区| 欧美日韩免费一区二区三区| 欧美性猛交xxxxxx富婆| 韩国精品久久久| 精品一区精品二区高清|