首页 > 科技
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
- 搜索
-
- 04-10重塑企业生产力!2025金智维企业级智能体暨AI+新品发布会成功举办,引领人机协同新范式
- 04-10数坤科技:引领医疗大模型全能时代
- 04-10“惊蛰号”——全球首艘内河全航程自动驾驶试验船顺利下水
- 04-10喜报丨易智瑞公司通过上海数据交易所数商资格认证
- 04-10打造酒业全面预算管理最佳实践,企云方助力金徽酒打造“数智化”全面预算平台
- 04-09安世亚太电力设备级数字孪生与AI虚拟传感解决方案
- 04-09铼赛智能Edge mini斩获2025法国设计大奖 | 重新定义数字化齿科美学
- 04-09口腔数字化大变革,这场行业大会带你率先把握未来机遇!
- 04-082025 年 Control4 中国区客户启动会在杭州成功举办,开启高端智能家居新征程
- 04-08多模态能力的进化,是AI眼镜成为生活必需品的关键