99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代做CHC5028、C/C++語(yǔ)言程序代寫(xiě)
代做CHC5028、C/C++語(yǔ)言程序代寫(xiě)

時(shí)間:2024-11-14  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



CHC5028 Software Development with
C/C++
Coursework
Important Dates
Week 10 (an available day in that week): Class test.
Week 12 (16/12/2024-20/12/2024): Project demonstration and viva assessment. Source 
codes file 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:
Discworld MUD, BatMUD, 
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 thewidth of the console. If 
you get this error, remove the #include <windows.h> fromthe top of the file, and edit
the initWordWrap() function by deleting its contents andreplacing them with 
consoleWidth = 80; currentConsoleOffset = 0;. You can change 80 here to any
number that makes the output comfortably readable.
Task 1 (10% of the mark)
In the current system, you can only move North. Extend the engine to allow movement inall
four compass directions.
• Add properties to the Room class for storing east, south, and west exits. These
properties will need accessor methods.
• Add code to the gameLoop method to understand the commands east, south, andwest 
(and the abbreviations e, s and w) and to handle them in a similar way to north.
• Modify initRooms to create more rooms using the new exits to test yourcode.
• The rooms created should be constructed in a reasonable and logical relationship that 
makes the game playable and sensible.
Task 2 (15% 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 super class. It should contain at least a weight, and a
keyword (for the player to use when typing commands).
• Modify the Room class so that each Room includes a list of GameObjects in theroom.
• Create a derived class Weapon of GameOjbect class, the weight of each object of 
Weapon should be limited in a range of 5-10. It should contain a property named 
harm which should be limited in a range of 10-30. 
• Create a derived class Food of GameObject class, the weight of each object of Food
should be limited in a range of **5. It should contain a property named energy which 
should be limited in a range of **10. 
• Modify initRooms to create some GameObjects ((including food and weapon objects)
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 following cannot be demonstrated.)
Task 3 (15% of the mark)
A key part of most text adventure games is the ability to fight with the NPC enemy. The 
NPC can be found in rooms and the player can fight with them. Add this capability to 
the game engine.
• Create a pure virtual EnemyObject class. It should contain at least a health, and a 
keyword (for the player to use when typing commands). It should contain a virtual 
method damage().
• Modify the Room class so that each Room includes a list of EnemyObject in theroom.
• Create a derived class Boss of EnemyObject class, the health of each object of 
Boss should be 100.
• Create a derived class Clowns of EnemyObject class, the health of each object of 
Clowns should be 30.
• Modify initRooms to create some EnemyObjects ((including boss and clowns 
objects) 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 following cannot be
demonstrated.)
• You need to consider different reasonable damage value for each different 
enemy objects’ damage() method.
Task 4 (5% of the mark)
• Modify the State class to include a representation of the player’s physical strength,
called strength, which is initiated as 100, and when strength goes to 0, the program 
shall be terminated. 
• Modify the Room::describe() method to print out the keywords of all theobjects in the 
room, formatted as nicely as possible.
Task 5 (30% of the mark)
• Modify the gameLoop method to pay attention to the second word of the commandthe
player enters, if there is one. The following commands can be used with the second 
word 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. 
• Implement the player command get which, when typed with an object keyword, willmove 
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. 
• 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 doesnot exist, etc. (5%)
• Implement the player command inventory which will print out the keywords ofall the
objects in the inventory. 
• 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.
• Implement the player’s command fight which, when typed with an enemy 
object keyword if the enemy object exists in the room, will print out the enemy’s 
health that subtracts from the sum of harm of weapons carried by the player.
• The harm is mutual, the player’s strength should reduce the damage of the 
enemy existing in the room and be printed out. You need to make the damage()
in the Boss and Clowns class can be applied when the fight command is 
working. 
• You need to make the printout of each command execution demonstrate the 
explicit status of all objects in the room.
Task 6 (25% 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. Theyshould ask the
user for a filename and then write or read the current game state, to orfrom 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 notguarantee
“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 “game state” may also include the status of the player and enemy objects. Would it 
be a good idea to restructure these objects to the original situation?
• 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 programis 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, at the same time, the file does not have to be just a text 
dump. This 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 task:
• 5% for basic correct structure of I/O.
• 10% for the file format designed for storing the saved game.
• 10% for the code that performs the save and the load.
Assessment Rules( Very important )
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 
marksbetween code and viva. The marks given are mainly based on your performance 
in answering the assessor's questions and the accuracy and correctness of the 
corresponding answers.
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, regardlessof 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 bejustified in the 
viva. However, designs which substantially reduce efficiency or other desirable properties 
without corresponding benefits will lose marks.
• The deadline for submission of the coursework is Week 12.
• In Week 12 you will also be required to demonstrate the final version ofyour
work, and verbal feedback will be given.
In addition to final submission and viva in Week 12, there will be two counselling in
the week 10 and week 11 tutorial periods. You also can make appointments with the 
tutor during the whole semester to 
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 tobe 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 deadline Week 10 (2/12/2024-6/12/2024):
Coursework Class Test
Formative feedback Week 10 (2/12/2024-6/12/2024):
Counselling
Week 11 (9/12/2023-13/12/2023):
 Counselling
Summative deadline Week 12 (16/12/2024-20/12/2024) 
Coursework project demonstration and viva
Summative feedback Week 12 (18/12/202**2/12/2023)
Spoken interactive(viva)
Final marks after assessment committees
Assignment Weighting Coursework class test 20% of the module
Coursework project demonstration and viva 30% of the 
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 artefact specified in terms of C++ objects and their interrelations.
• Research the techniques for safe and efficient programming in C and C++.

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp







 

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:代寫(xiě)CPTG1405、代做Python設(shè)計(jì)程序
  • 下一篇:代寫(xiě)COMP2011J、Java程序設(shè)計(jì)代做
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷(xiāo)助手小象助手多多出評(píng)軟件
    2025年10月份更新拼多多改銷(xiāo)助手小象助手多
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設(shè)計(jì)優(yōu)化
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    出評(píng) 開(kāi)團(tuán)工具
    出評(píng) 開(kāi)團(tuán)工具
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
  • 短信驗(yàn)證碼 trae 豆包網(wǎng)頁(yè)版入口 目錄網(wǎng) 排行網(wǎng)

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                久久99久久99| 亚洲一区二区三区四区在线免费观看| 欧美成人性战久久| 日韩欧美国产一区二区三区 | 欧美色国产精品| 91精品国产综合久久精品性色| 国产精品久久久一本精品| 色婷婷精品久久二区二区蜜臂av | 无码av免费一区二区三区试看| 免费国产亚洲视频| 日韩免费观看高清完整版 | 日欧美一区二区| 91国产精品成人| 久久不见久久见免费视频7| 久久久三级国产网站| 不卡欧美aaaaa| 亚洲欧美二区三区| 91麻豆精品秘密| 日韩高清不卡一区二区| 精品日本一线二线三线不卡| 99在线精品观看| 日韩国产成人精品| 精品91自产拍在线观看一区| 99久久精品国产一区| 亚洲大片精品永久免费| 国产做a爰片久久毛片| 精品福利av导航| 99久久久久免费精品国产| 一区二区三区在线观看欧美| 久久99深爱久久99精品| 色综合久久综合网欧美综合网| 夜夜嗨av一区二区三区| 久久先锋资源网| 欧美主播一区二区三区美女| 国产一区二区三区观看| 国产精品美女久久久久aⅴ国产馆| 91精品婷婷国产综合久久性色 | 国产一区日韩二区欧美三区| 亚洲成人精品影院| 亚洲男人电影天堂| 欧美激情在线观看视频免费| 精品国精品国产尤物美女| 91久久免费观看| 国产精品一区2区| 国产午夜精品久久久久久免费视 | 无码av免费一区二区三区试看 | 亚洲欧洲日产国码二区| 色丁香久综合在线久综合在线观看| 91小视频在线免费看| 美女视频黄a大片欧美| 亚洲成人一二三| 亚洲精品中文字幕在线观看| 国产日韩欧美精品电影三级在线| 这里只有精品视频在线观看| 91麻豆精品91久久久久同性| 欧美一卡在线观看| 日韩精品一区二区三区视频播放 | 日韩精品视频网| 亚洲不卡一区二区三区| 三级久久三级久久| 六月婷婷色综合| 国产精品一区免费在线观看| 国产91清纯白嫩初高中在线观看| 国内精品写真在线观看| 韩国精品主播一区二区在线观看| 精品一区二区三区av| 成人在线一区二区三区| aaa国产一区| 欧美伊人久久久久久午夜久久久久| 在线一区二区三区四区五区 | 亚洲福利电影网| 美国精品在线观看| 国产福利91精品一区| 不卡的av网站| 欧美日韩国产一级| 精品福利二区三区| 亚洲同性gay激情无套| 亚洲高清视频中文字幕| 国产福利不卡视频| 在线视频亚洲一区| 精品少妇一区二区三区| 亚洲精品日日夜夜| 理论电影国产精品| 91久久精品国产91性色tv| 91精品国产欧美日韩| 国产欧美日韩精品a在线观看| 亚洲午夜在线电影| 国产精华液一区二区三区| 色综合久久综合| 久久久国产一区二区三区四区小说 | 日本伊人色综合网| 成人福利视频在线| 91精品国产91热久久久做人人| 日本一区二区成人在线| 日韩国产高清在线| 97se狠狠狠综合亚洲狠狠| 欧美一级片在线| 亚洲精品视频在线看| 久久国产精品72免费观看| 欧美亚洲丝袜传媒另类| 中文字幕亚洲欧美在线不卡| 午夜电影久久久| 色哦色哦哦色天天综合| 久久久久久麻豆| 日韩1区2区日韩1区2区| 日本精品免费观看高清观看| 久久人人97超碰com| 秋霞av亚洲一区二区三| 91香蕉国产在线观看软件| 26uuu欧美日本| 五月天精品一区二区三区| 色综合一区二区| 国产精品久久久久久亚洲伦| 美腿丝袜亚洲一区| 欧美三级欧美一级| 亚洲一区二区三区四区五区黄| 成人免费毛片app| 日本一区二区三区久久久久久久久不 | 成人一区二区在线观看| 欧美精品tushy高清| 亚洲国产高清不卡| 精品一区二区三区av| 欧美一区二区三区啪啪| 樱花影视一区二区| 色婷婷激情一区二区三区| 国产精品色在线观看| 欧美一区二区三区四区五区| 亚洲精品国产视频| 91福利视频在线| 亚洲免费观看在线观看| 91高清视频免费看| 一区二区视频免费在线观看| 91丨九色丨蝌蚪富婆spa| 国产精品高潮久久久久无| 日本高清不卡在线观看| 亚洲超丰满肉感bbw| 欧美一级片在线| 国产精品18久久久久久久久| 国产三级精品视频| 成人av在线一区二区| 国产精品天干天干在线综合| 99久久久国产精品免费蜜臀| 一级女性全黄久久生活片免费| 91麻豆产精品久久久久久| 亚洲精品大片www| 日韩亚洲欧美在线观看| 国产一区欧美日韩| 久久久久久久综合狠狠综合| 高清不卡在线观看| 亚洲美女屁股眼交| 91精品国产手机| 国产一区二区三区黄视频| 亚洲免费毛片网站| 精品美女一区二区| 色综合一个色综合| 美国精品在线观看| 亚洲日本免费电影| 精品国产精品一区二区夜夜嗨| k8久久久一区二区三区| 日韩激情在线观看| 欧美激情一区二区三区不卡| 欧美视频一区二区三区四区| 国产精品中文字幕欧美| 亚洲精品欧美专区| 久久久精品黄色| 91精品国产综合久久精品图片 | 最近日韩中文字幕| 91精品国产一区二区三区| 大白屁股一区二区视频| 日韩精品欧美精品| 亚洲图片另类小说| 欧美精品一区二区三区高清aⅴ| 91丨九色丨国产丨porny| 国产一区激情在线| 蜜臀久久久久久久| 一区二区国产视频| 欧美精彩视频一区二区三区| 日韩小视频在线观看专区| www.av亚洲| 高清视频一区二区| 韩国一区二区在线观看| 天堂一区二区在线| 亚洲在线观看免费| 亚洲欧美激情一区二区| 久久免费国产精品| 日韩三级视频在线观看| 欧美剧情片在线观看| 欧美午夜精品久久久久久超碰| 岛国av在线一区| 成人自拍视频在线| 成人深夜在线观看| 国产91露脸合集magnet| 国产乱子伦视频一区二区三区 | 欧美精品一区二区精品网| 欧美一区二区高清| 欧美日本一区二区三区四区| 欧美熟乱第一页| 欧美在线不卡一区| 成人深夜在线观看| 99久久久久免费精品国产|