COMP282 – The C++ Programming Language
University of Liverpool
Department of Computer Science
Assignment CA1 : C++ Console Application
1 Rubric
• Code Structure (10%)
– Code Organisation (5%) : Marks for separation of declarations (.h files) and
implementations (.cpp files), and logical organisation within files.
– Commenting and Documentation (5%) : Marks for comments in code explaining the purpose and functionality of classes, methods, and significant or
complex blocks of code.
• Application of Object-Oriented Programming (30%)
– Class Design (10%) : Marks for correct implementation of required classes,
proper use of inheritance (e.g., Monster and Player derived from Character),
and the implementation of all required methods.
– Encapsulation and Data Hiding (10%) : Marks for correct use of access modifiers (public, private) to ensure data encapsulation and for following the principle of least privilege.
– Use of STL Containers and Iterators (10%): Marks for effective use of STL
containers (e.g., vectors) and iterators for managing game objects, including
items and characters.
• Game Mechanics and Logic (40%)
– Game Map and Navigation (10%): Marks for the successful creation and linking of game locations, as well as the implementation of navigation commands.
– Item and Monster Management (10%): Marks for correctly adding items and
monsters to locations, through the use of the addItem and addMonster methods, and for the logic that handles player interactions with these elements.
– Combat System (10%): Marks for correct combat logic implementation, including the rollDice function, combat sequence, damage calculation, defeat
handling and the effects of armour and different weapons.
– Inventory and Item Usage (10%) : Marks for the correct implementation of inventory management, including collecting items, sorting, and using items (e.g.,
drinking potions, using armour, monsters discarding items when defeated).
1
• Robustness (10%)
– Error Handling and Game Stability (10%): Marks for the game’s ability to
cope with invalid inputs, and stability during gameplay.
• Creativity and Enhancement (10%)
– Extra marks for creative additions beyond the basic requirements, including
additional game features that enhance player experience, and good, efficient
or advanced use of appropriate C++.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- HGC环电强化国际业务领导架构 谭君骥及Ravindran Mahalingam分别担任专精职务
- 海伯森六维力传感器:助力人形机器人产业发展的创新力量
- 达闼董事长黄晓庆:以技术破局致胜从未止步
- 从辅助到核心,企业如何基于AI Agent升级品牌数字营销
- 国产2.5亿超高分辨率图像传感器发布,主要面向机器视觉领域
- 西部数据推出多款超高速、大容量存储解决方案
- 中关村e谷承办“科创耀未来 奋进谱新篇”企业家创新论坛圆满落幕
- 航科卫星“汕头数字一号”卫星发射成功!
- Gartner 最新魔力象限出炉!ManageEngine卓豪成功入围
- 科技重塑物流,英特尔&集和诚加速智慧物流发展!
- 数智赋能 向“新而行” 坦克与装甲车辆学术与发展论坛召开
- 赛诺威盛:大孔径专科化CT领航者
- 网易硬刚腾讯 两大游戏玩家之间的口水仗不断
- 全球“最独特”的一台华为 nova 6 5G 版手机是什么样子的?
- 拼多多抖音淘宝京东,谁是真低价?