狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线

CHC5028代做、C/C++程序設計代寫

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


CHC5028代做、C/C++程序設計代寫
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

標簽:

掃一掃在手機打開當前頁
  • 上一篇:指標代寫代寫機構進倉副圖 指標公式
  • 下一篇:代寫CE4703、C++設計編程代做
  • 無相關信息
    昆明生活資訊

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

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

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

    狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线
  • <dl id="akume"></dl>
  • <noscript id="akume"><object id="akume"></object></noscript>
  • <nav id="akume"><dl id="akume"></dl></nav>
  • <rt id="akume"></rt>
    <dl id="akume"><acronym id="akume"></acronym></dl><dl id="akume"><xmp id="akume"></xmp></dl>
    操人视频免费看| 日韩欧美精品免费| 亚洲综合在线一区二区| 国产卡一卡二在线| 97超碰在线人人| 国产天堂在线播放| 99re99热| 性欧美大战久久久久久久| 青青草原成人网| 中文字幕第38页| 欧美黄网在线观看| 欧美成人黑人猛交| 国产精品嫩草影视| 精品视频免费在线播放| 91香蕉视频污版| 免费人成在线观看视频播放| wwwxxx黄色片| 国产一二三四五| 成年人免费大片| 久久久无码中文字幕久...| 人妻精品无码一区二区三区| 99九九精品视频| 中文字幕无码精品亚洲35| 国产三级精品三级在线| 欧美在线观看www| 少妇高潮流白浆| 天天爽人人爽夜夜爽| 穿情趣内衣被c到高潮视频| 精品久久久久久无码国产| 浴室偷拍美女洗澡456在线| 欧美视频第三页| 国产激情在线看| 热久久精品免费视频| 亚洲国产精品无码av| www.国产福利| 成年人视频在线免费| 日韩av中文字幕第一页| 不卡中文字幕在线| 天天干天天爽天天射| 99福利在线观看| 欧美又粗又长又爽做受| 国产高清999| 亚洲污视频在线观看| 国产综合免费视频| 欧美一区二区中文字幕| 可以免费看的黄色网址| 欧美日韩一区二区三区69堂| 成人羞羞国产免费网站| 精品少妇人妻av免费久久洗澡| 特级黄色录像片| 天天操精品视频| av在线免费看片| 久久久久久久久久一区| 日本黄色福利视频| www.色欧美| 亚洲精品成人在线播放| 久久久国产欧美| 天天插天天操天天射| 天天操天天爱天天爽| 日韩免费高清在线| 91蝌蚪视频在线观看| 99久久国产宗和精品1上映| 凹凸日日摸日日碰夜夜爽1| 欧美性久久久久| 精品一卡二卡三卡| 99热手机在线| 欧美wwwwwww| 欧美日韩中文不卡| 亚洲网中文字幕| 少妇久久久久久被弄到高潮| 亚洲色欲久久久综合网东京热| 免费看毛片的网址| 免费观看国产精品视频| 99久久久无码国产精品6| 能在线观看的av网站| 国产三级三级看三级| 91精品国产三级| 999久久欧美人妻一区二区| 免费在线观看亚洲视频| 人妻内射一区二区在线视频 | av 日韩 人妻 黑人 综合 无码| 色姑娘综合天天| 国产午夜福利在线播放| 日韩中文字幕免费在线| 操人视频免费看| 一区二区传媒有限公司| 污色网站在线观看| r级无码视频在线观看| 天天操天天摸天天爽| 麻豆md0077饥渴少妇| 欧美丰满熟妇bbbbbb百度| 激情五月婷婷基地| 成人短视频在线观看免费| 成人免费无码av| 青青草综合视频| 黑人粗进入欧美aaaaa| 色哺乳xxxxhd奶水米仓惠香| 97国产在线播放| 91社在线播放| 日韩精品一区二区三区不卡| 国产精品无码乱伦| 日本www.色| 看av免费毛片手机播放| 波多野结衣三级在线| 久久久久国产精品熟女影院| 国产免费内射又粗又爽密桃视频| 美女av免费在线观看| 91成人在线视频观看| 午夜免费福利在线| 9久久9毛片又大又硬又粗| 中文字幕超清在线免费观看| 91激情视频在线| 91免费视频网站在线观看| 欧美国产在线一区| 日本久久久久久久久久久久| 亚洲天堂av免费在线观看| xxx国产在线观看| 成人性生生活性生交12| 男人天堂网视频| 少妇一晚三次一区二区三区| 日韩精品视频一二三| 老司机午夜av| 麻豆传传媒久久久爱| 欧美日韩精品在线一区二区| 国产精品啪啪啪视频| 午夜在线视频免费观看| 欧美午夜精品理论片| 伊人国产在线视频| 性chinese极品按摩| 婷婷丁香激情网| 亚洲国产高清av| www.精品在线| 免费精品99久久国产综合精品应用| 99草草国产熟女视频在线| 国内外免费激情视频| www.日本xxxx| 91丨九色丨蝌蚪| 久久精品国产露脸对白| gogogo免费高清日本写真| 992tv人人草| 日本福利视频网站| www.好吊操| 日本毛片在线免费观看| av无码精品一区二区三区| 国产精品久久久毛片| 9999在线观看| 欧美性猛交内射兽交老熟妇| 妞干网在线观看视频| 欧美日韩在线不卡视频| 国产免费人做人爱午夜视频| 天天干天天干天天干天天干天天干| 亚洲久久中文字幕| 经典三级在线视频| 男人添女人下部高潮视频在观看| 久久精品.com| 国产成人美女视频| av无码久久久久久不卡网站| 成人午夜视频在线观看免费| 99久久久无码国产精品6| 妺妺窝人体色www在线观看| 中文 日韩 欧美| 黄页免费在线观看视频| 亚洲欧洲日本精品| 国产精品igao激情视频| 黄色片一级视频| 99热这里只有精品7| 大肉大捧一进一出好爽视频| 天天干天天色天天干| 亚洲熟妇无码一区二区三区导航| wwwwww.色| 国产又粗又猛又爽又黄的网站 | 强伦女教师2:伦理在线观看| 国产精品又粗又长| 国产又黄又猛的视频| 每日在线观看av| 91人人澡人人爽人人精品| 999久久欧美人妻一区二区| 欧美自拍小视频| 无码熟妇人妻av在线电影| 手机在线成人免费视频| 18禁裸男晨勃露j毛免费观看 | av7777777| 欧美与动交zoz0z| 爱情岛论坛vip永久入口| r级无码视频在线观看| 婷婷中文字幕在线观看| av无码精品一区二区三区| 成年在线观看视频| 污视频在线观看免费网站| 精品少妇无遮挡毛片| 可以在线看的av网站| 红桃一区二区三区| 亚洲黄色av片| 午夜欧美福利视频| 无码aⅴ精品一区二区三区浪潮| 在线观看污视频| 一级片免费在线观看视频| 亚洲精品20p| a在线观看免费视频| 91av俱乐部|