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
-
Zymeworks Announces FDA Clearance of Investigational New Drug Application for ZW171, a novel 2+1 T-cVANCOUVER, British Columbia, June 17, 2024 (GLOBE NEWSWIRE) -- Zymeworks Inc. (Nasdaq: ZYME), a clinical-stage biotechnology company developing a di2024-06-17
-
Indonesia Stock Exchange Partners with Nasdaq to Upgrade Market InfrastructureTechnology partnership will further enhance overall resilience and integrity of the exchange, while supporting the rapid deployment of new products2024-06-17
-
Adalvo 的 Liraglutide 預充式注射筆成為歐盟首款獲得批准的仿製藥馬爾他聖瓜安, June 17, 2024 (GLOBE NEWSWIRE) -- Adalvo 宣布 Liraglutide 預充式注射筆成功取得 DCP 批准,成為歐盟首款獲得批准的仿製藥。 根據 IQVIA 的報2024-06-17
-
促进生育,助力三胎——“三胎免费生”联合公益行动正式启动为积极响应国家号召实施三胎生育政策,扩大妇幼服务健康供给,在云南省优生优育妇幼保健协会指导下,昆明广播电视台联合昆明安琪儿妇产医院,于6月13日在昆明广播2024-06-17
-
学党史传承红色精神 守党纪筑牢自律防线——平安养老险湖南分公司党支部开展主题党日活动七一前夕,平安养老险湖南分公司党支部全体成员走进“千年学府、百年师范”——湖南第一师范,开展了一次学史明理、学史增信、学史崇德、学史力行的主题党日活动。重2024-06-17