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

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

 COMP1921代做、代寫C++, Python/Java編程

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



School of Computing: Assessment brief 
Module title Programming Project 
Module code COMP1921 
Assignment title Resit Assessment 
Assignment type and 
description 
You will produce code to meet a given specification. 
Rationale This assessment gives you an opportunity to develop a small working 
game using professional techniques such a modularizing code and 
defensive design. You will work to create code which meets a client 
brief, whilst also ensuring that the code meets basic standards of 
structure, documentation and memory management. 
Word limit and 
guidance 
You should spend 20-25 hours working on this assessment. 
Weighting 100% 
Submission deadline 9
th
 August 2024 @ 23:59 
Late submission is not permitted. 
Submission method Gradescope 
Feedback provision Marked rubric, Autograder output & in-code comments via Gradescope. 
Learning outcomes 
assessed 
- apply professional programming practices to programming projects. 
- explain the importance of applying professional programming practices 
to programming projects. 
- design, implement, debug and test a modular programming solution to 
a real-world problem. 
Module lead Amy Brereton (@scsabr) 
 
 
 1. Assignment guidance 
You are tasked with creating a basic treasure hunt game in C, where players navigate a map to find 
hidden treasures using command-line inputs. 
You should design your code to be defensive and handle a range of errors in a graceful way, 
without crashing unexpectedly. Consider the full range of mistakes which a user could make when 
trying to run the program. 
Treasure Island Game 
The game loads a map file, which is provided on the command line in the format: 
./island <mapfilepath> <dimension> 
A map file can contain: 
And is always a square with the width and height dimension which is also provided on the 
command line. 
The game involves the player moving around the island looking for hidden treasure. The player can 
move using the WASD keys (w/W = up, a/A = left, s/S = down, d/D = right) or display a map using 
the m/M key. 
The locations of the hidden treasure and the starting point should not be shown by the map, these 
should be showed by blank spaces ‘ ‘. 
When the player finds the hidden treasure, they should receive some message telling them how 
many they have found such as ‘You have found 1 out of 3 hidden treasures’. 
When the player has found all 3 hidden treasures, they have won and the game ends successfully. 
There is no exit or quit option, so the only way to complete the game is to find all treasures. 
 
Symbol Meaning 
‘ ‘ (space) Land which the player can move across. 
‘w’ (lower case w) Water – this surrounds the island and the player cannot move through 
it. There must be only water in the first and last row and column. 
‘T’ (upper case t) Palm trees which block the player from moving on land. 
3 x ‘H’ (upper case h) Hidden treasures which the player is searching for. 
1 x ‘S’ (upper case s) The starting point, where your player will be placed when you start the 
game. Return codes and Outputs to the User 
Any outputs such as error messages can be any text you like, as the grader does not read them. 
However, there are certain return codes which you have to use: 
0 = success (the game was able to run correctly) 
1 = argument error (bad number of arguments, or bad dimension) 
2 = file error (the file cannot be read – doesn’t exist or no read permissions) 
3 = data error (the file is not a valid map) 
Where an error could fall into multiple categories, the autograder will accept either – or you can ask 
me via Teams. 
 
Map Files 
Map files are text files containing a ‘map’ for the game. They have some rules: 
- The map should always have a border of water (‘w’s) around the edges (i.e. every first and 
last character of a row and column should be a ‘w’). 
- A map is always a square (width and height equal), and should match the dimension given on 
the command line. 
- There is exactly one start point marked by ‘S’. 
- There are exactly 3 treasures marked by ‘H’. 
- The map only contains characters ‘w’,’T’,’ ‘, ‘H’ and ‘S’. 
- The size is a minimum of 5x5 and a maximum of 100x100. 
- They may end with a trailing newline character (a ‘\n’ as the final character). 
A selection of map files have been provided to help you test your code – note that these will not be 
the final files used to test your code, so it’s important for you to ensure that your code works on a 
variety of different files. 
These example files also do not contain every possible error – try and think of other ways in 
which a map file could be wrong, and make some of your own to test your code. 
You do not need to check whether there is a valid route between the start and the 3 treasures 
– you can assume there always is. Additional Task – Map Generator – 30 marks 
This task is optional and should not be attempted if you are sitting a capped resit – this is 
only for those with uncapped marks who are aiming for higher marks and may take 
significantly longer than the suggested time for this assignment. 
The developer wants to procedurally generate a range of different maps to build up a website of 
maps which people can download and use with the game. They would like you to create a script 
which is able to generate these maps. 
You may use C, Python, or Java for this extension. 
You will produce a program which can generate maps with a given filename and size. For example: 
./islandGenerator new_island.txt 40 
Would create a random, solvable 40x40 map and save it into new_island.txt. 
Note: as other languages are permitted, please provide running instructions in a readme.md 
file. 
Your islands need to be valid by the rules given in the ‘Map Files’ section above, and it is 
recommended that you try and ensure that around 60% of your map is covered by island (rather 
than having a lot of water around small islands) to make your islands more interesting and varied. 
Your islands must also be solvable – it must be possible to start at the starting point and reach all 3 
treasures. 
You will develop an algorithm to produce these more complex maps. You may use existing research 
to help you to do this, but you should also experiment with how changing existing algorithms affects 
the maps you produce. You should be writing all code yourself, and citing any research you use. 
Aim to create an algorithm which produces visually interesting and challenging maps, and which 
produces an interesting range of shapes and styles of island. 
You will produce a short report which explains how you developed your island-generating algorithm, 
focusing on how you iteratively developed and improved your code, justifying changes you made 
and explaining the impact of these. You can include screenshots, code snippets and images to 
demonstrate this 
You should also include a reflective conclusion discussing: 
- The limitations of your solution 
- What you found challenging in designing the algorithm 
- Future improvements you would like to make 
I recommend writing no more than 10 pages (including images and code snippets) but there is no 
page or word limit. 
You should ensure that you cite any sources using Leeds Harvard referencing. 
Please upload your report as a PDF. 
 2. Assessment tasks 
You should develop a C program to fulfil the brief given above. You will submit your source code, 
and if you attempt the map generator challenge task you will also submit a short report. 
Your code should be: 
- Defensively designed 
- Sensibly structured 
- Modular 
- Memory efficient 
And you should ensure that you test your code throughout development. On submission, you will 
receive feedback for some tests which should help you to ensure that you are meeting the 
requirements of the specification such as correct exit codes. 
If tests are failing and you are not sure why, you can contact me via Teams/email for 
additional feedback. 
 
3. General guidance and study support 
You should refer to the previous lab exercises and lecture notes to support you. Procedural 
Programming covered the basic C code needed so you should refer back to this module’s notes. 
 
4. Assessment criteria and marking process 
50 marks will be calculated by an autograder which runs your code through a number of scenarios 
testing invalid inputs, files, and some integration tests ensuring your code can navigate a full game. 
You will see the result of a small number of these tests on upload, but the majority are hidden. 
20 marks for code quality will be manually assessed by code inspection. 
30 marks for the extension task will be manually assessed from your report and running your code. 
A full breakdown is available in section 8. 
 
 5. Presentation and referencing 
In your report, you should use Leeds Harvard referencing which you can learn more about: 
https://library.leeds.ac.uk/info/1402/referencing 
The quality of written English will be assessed in this work. As a minimum, you must ensure: 
- Paragraphs are used 
- There are links between and within paragraphs although these may be ineffective at times 
- There are (at least) attempts at referencing 
- Word choice and grammar do not seriously undermine the meaning and comprehensibility of 
the argument 
- Word choice and grammar are generally appropriate to an academic text 
Referencing of Code 
Two simple rules: 
1. You should not be directly copying any code from external resources, even with a reference. 
2. Use of generative AI needs to be referenced with a link/copy of the conversation. 
 
If any code is adapted from examples found online, provide a basic comment with the URL on the 
line above the adapted line/section: 
// This test is adapted from an example provided on: https://byby.dev/bash-exit-codes 
 
Generative AI 
In ChatGPT, you can generate a link to the full conversation: 
 
And provide the reference as follows: 
// Lines 1 – 7 were adapted from code provided by the following conversation 
with chatGPT: https://chat.openai.com/share/c356221d-fb88-4970-b39e-d00c87ae1e0b 
  
In Copilot, you will need to export the conversation as a text file: 
 
Save this with a filename including the date and 2-3 word summary of what the conversation was 
about (’1**03 inputs in C.txt’) and ensure this is submitted with your work. 
You can reference this in your code: 
// Lines 1 – 7 were adapted from code provided by the CoPilot conversation 
recorded in ’1**03 inputs in C.txt’ 
If you are using a different Generative AI model, these instructions may differ – you must still 
provide a link to or copy of the full conversation and reference in the same manner above. 
 
Use of Generative AI in this Assessment 
This assessment is rated ‘amber’ according to the university guidelines around generative AI. This 
means that you can use genAI models such as ChatGPT or CoPilot to explain concepts which may 
be useful in this assessment, but you must not use any code it generates or give it any part of 
this specification. 
Here are some examples of reasonable things to ask a generative AI model: 
- Explain how to use the fgets function to read a file in C 
- How do I create a struct in C? 
- How do I allocate a 2D array in C? 
 
These are asking for help with concepts, and not with the assignment itself and are therefore 
acceptable – although you must reference your use of generative AI with a full transcript of the 
conversation, as shown in the section above. 
 
If it is suspected that you have used generative AI without reference, the standard academic 
integrity process for plagiarism will be followed. 
 
 6. Submission requirements 
Submit via Gradescope. 
Main task: 
Submit your code and a makefile to Gradescope along with any referenced generative AI 
conversations. Your code should not be inside any subfolders, and must compile on Linux. 
This is an example of a correct upload – you can see that my files do not have a folder name before 
them, and there is a makefile provided. 
The autograder will show the result of 4 different tests, one from each section (arg errors, file 
errors, map errors and success tests). Use these to ensure your code is returning the correct value. 
 
Extension task: 
Submit your code, report, and any instructions for running your program to the ‘Resit – Extension’ 
assignment on Gradescope. 
 
 7. Academic misconduct and plagiarism 
Leeds students are part of an academic community that shares ideas and develops new ones. 
 You need to learn how to work with others, how to interpret and present other people's ideas, and 
how to produce your own independent academic work. It is essential that you can distinguish 
between other people's work and your own, and correctly acknowledge other people's work. 
 All students new to the University are expected to complete an online Academic Integrity tutorial 
and test, and all Leeds students should ensure that they are aware of the principles of Academic 
integrity.  
 When you submit work for assessment it is expected that it will meet the University’s academic 
integrity standards.  
 If you do not understand what these standards are, or how they apply to your work, then please ask 
the module teaching staff for further guidance. 
 By submitting this assignment, you are confirming that the work is a true expression of your 
own work and ideas and that you have given credit to others where their work has 
contributed to yours. 
 

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

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇:代寫 MSBA-204 creation&#160;of&#160;the&#160;mode
  • 下一篇:&#160;COMP1711代寫、代做C++,Java程序設(shè)計(jì)
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    出評(píng) 開團(tuán)工具
    出評(píng) 開團(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)線
    合肥機(jī)場(chǎng)巴士2號(hào)線
    合肥機(jī)場(chǎng)巴士2號(hào)線
    合肥機(jī)場(chǎng)巴士1號(hào)線
    合肥機(jī)場(chǎng)巴士1號(hào)線
  • 短信驗(yàn)證碼 豆包 幣安下載 AI生圖 目錄網(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;">

                国产乱子轮精品视频| 亚洲欧美日韩一区二区三区在线观看| 色综合久久久久| 色欧美88888久久久久久影院| 欧美日韩精品一区二区三区四区| 日韩欧美黄色影院| 中文字幕一区二区三区在线观看| 亚洲3atv精品一区二区三区| 国产·精品毛片| 欧美一级精品在线| 亚洲第一激情av| 97精品视频在线观看自产线路二 | 欧美日韩国产另类一区| 中文字幕一区二区三区色视频| 日韩精品午夜视频| 欧美三级日本三级少妇99| 亚洲欧美另类久久久精品2019| 色综合中文字幕| 国产欧美一区二区精品仙草咪| 蜜桃精品视频在线| 精品福利一区二区三区| 日本欧美在线观看| 欧美一区二区日韩| 国产原创一区二区| 成人黄色电影在线 | 国产+成+人+亚洲欧洲自线| 日韩一区二区三| 国产综合色视频| 精品一区二区三区香蕉蜜桃 | 国产精品一区在线| 久久蜜臀中文字幕| av成人免费在线观看| 图片区小说区区亚洲影院| 欧美成人欧美edvon| 91丨九色丨蝌蚪丨老版| 蜜桃av一区二区| 亚洲欧美日韩国产一区二区三区| 91麻豆精品国产自产在线观看一区| 韩国三级在线一区| 1区2区3区精品视频| 欧美日韩亚洲高清一区二区| 狠狠狠色丁香婷婷综合激情 | 一区二区三区影院| 欧美电影免费观看高清完整版在线| 激情都市一区二区| 蓝色福利精品导航| 中文字幕一区日韩精品欧美| 欧美色精品天天在线观看视频| 激情综合网av| 亚洲欧美偷拍另类a∨色屁股| 亚洲精品在线观看视频| 91视频免费看| 丁香桃色午夜亚洲一区二区三区| 五月天激情综合| 一区二区三区小说| 国产亚洲va综合人人澡精品| 欧美综合在线视频| 国产99久久久久久免费看农村| 亚洲成人福利片| 天天综合日日夜夜精品| 91一区一区三区| 国产中文字幕精品| 免费一级欧美片在线观看| 亚洲免费av高清| 自拍偷在线精品自拍偷无码专区| 岛国精品在线观看| 国产精品一区二区视频| 成人性生交大片免费看中文| 国产·精品毛片| 91丨九色porny丨蝌蚪| 国产精品夜夜爽| av中文字幕亚洲| 91美女在线观看| 日韩一区二区电影在线| 国产亚洲欧美色| 一区二区视频在线| 美女看a上一区| 国产大陆精品国产| 波多野结衣在线一区| 欧美调教femdomvk| 风间由美性色一区二区三区| 国产成人精品免费一区二区| 99这里只有久久精品视频| 91精品国产综合久久久久久漫画 | 成人黄色在线视频| 在线观看日韩电影| 欧美成人a∨高清免费观看| 亚洲欧洲一区二区三区| 狠狠狠色丁香婷婷综合激情 | 欧美日韩精品一区视频| 国产丝袜欧美中文另类| 有坂深雪av一区二区精品| 久久精品国产在热久久| 国产69精品一区二区亚洲孕妇| 欧美日韩中文字幕一区二区| 国产免费成人在线视频| 蜜臀va亚洲va欧美va天堂| 欧美亚洲一区二区在线| 一区二区在线看| 91一区二区三区在线播放| 精品对白一区国产伦| 午夜久久电影网| 欧美中文字幕不卡| 日本aⅴ亚洲精品中文乱码| 丝袜美腿亚洲综合| 欧美综合欧美视频| 五月天激情综合网| 欧美一级精品在线| 久久精品国产秦先生| 久久九九久精品国产免费直播| 日本不卡视频在线| 日韩欧美在线影院| 国产精品亚洲а∨天堂免在线| 日韩女优电影在线观看| 国产麻豆成人精品| 国产精品久久久久久妇女6080| 国内精品自线一区二区三区视频| 久久网这里都是精品| 美女mm1313爽爽久久久蜜臀| 国产精品婷婷午夜在线观看| 91精彩视频在线观看| 激情综合网最新| 婷婷成人综合网| 久久99国产精品尤物| 2020国产精品久久精品美国| 欧美夫妻性生活| 国产综合色精品一区二区三区| 一区二区三区欧美激情| 国产精品毛片a∨一区二区三区| 91精品国产综合久久久久| 久草这里只有精品视频| 亚洲制服丝袜av| 最新高清无码专区| 最新欧美精品一区二区三区| 777精品伊人久久久久大香线蕉| 韩国中文字幕2020精品| 18成人在线观看| 国产精品入口麻豆九色| 五月天激情综合| 日韩精品一区在线| 国产精品一区二区久久不卡 | 精品国产成人系列| 亚洲视频在线一区| 久久久久久久久伊人| 精品久久人人做人人爱| 国产成人h网站| 国产一区二区电影| 欧美国产精品久久| 亚洲视频一二三区| 爽爽淫人综合网网站| 国产精品污污网站在线观看| 午夜精品成人在线视频| 亚洲成人免费影院| 日韩电影一区二区三区四区| 制服丝袜成人动漫| 久久婷婷国产综合国色天香 | 亚洲视频免费在线| 欧美激情中文字幕一区二区| 国产精品一级片在线观看| 美美哒免费高清在线观看视频一区二区| 夜夜嗨av一区二区三区中文字幕| 国产精品色一区二区三区| 国内外成人在线| 欧美在线免费播放| 久久久久久**毛片大全| 91高清在线观看| 久久精品视频在线看| 首页国产欧美日韩丝袜| 国产一区二区在线观看免费| 日本久久一区二区| 亚洲欧美国产77777| 高潮精品一区videoshd| 欧美一级二级在线观看| 国产午夜精品一区二区三区四区| 91麻豆精品国产| 亚洲码国产岛国毛片在线| 欧美精品一区二区高清在线观看| 亚洲欧美成人一区二区三区| 国产福利精品导航| 亚洲成人tv网| 欧美精品久久一区| 日韩在线一区二区三区| 色综合天天视频在线观看| 亚洲综合久久av| 欧美精品自拍偷拍动漫精品| 日韩电影在线一区二区三区| 蜜乳av一区二区| 精品久久久久久亚洲综合网| 蜜桃av一区二区三区| 天天综合天天综合色| 日韩色视频在线观看| 国产高清不卡二三区| 国产精品久久久久久久岛一牛影视| 欧美三级资源在线| 国模一区二区三区白浆| 国产亚洲综合性久久久影院| 国产亚洲精品aa午夜观看| av色综合久久天堂av综合| 成人动漫精品一区二区| 国产精品久久久久久妇女6080|