悉尼大学INFO1110/COMP9001 Assignment 2 课业解析

悉尼大学INFO1110/COMP9001 Assignment 2 课业解析 
题意: 
用python做一个名为野鹅逃亡(wild goose chase)的命令行游戏,野鹅必须吓跑地图上所有生物或者逃到安全位置才能获得胜利,被其他生物抓住游戏失败。
解析: 
游戏主要涉及4个类,Loaction、Item、Creatures、Goosechasers;Location描述玩家当前位置及周围9个结点的信息;Items描述每个装备的名字、介绍及威胁性信息;Creations描述所有生物名字、威胁性信息;Goosechasers描述天敌行为信息。游戏交互命令:QUIT,退出游戏;HELP,打印提示信息;INV,打印玩家当前装备信息;TAKE拾起装备,DROP丢弃装备,FLEE成功逃离(只在安全地有效);HONK威吓,比较野鹅自身和目标生物的威胁性(装备威胁性叠加),高的话成功,否则失败;WAIT,什么都不做;LOOK,显示当前位置信息……
游戏进程:
涉及知识点:

python、数组、类和对象、信息处理 
更多可加v讨论 
v:luna619- 
pdf
INFO1110 / COMP9001 Assignment 2
Goosechasers: A Titled Goose Game
Milestone Deadline: 11:59 PM Monday, 28th October 2019 AEST (Week 12)
Final Deadline: 11:59 PM Monday, 4th November 2019 AEST (Week 13)
Weighting: 10% of the final assessment mark.
You are a goose. Beautiful. Majestic. Unstoppable. In the wake of your majesty, even the most
intense of human passions are but fleeting whispers in comparison - for not only are you a
goose, you are the Goose: Her Excellency, Duchess Hilda von Goosensmirch the Red, Countess of
Loch Lanore and Grandmaster of the Order of the Silver Leek. There are those, however, that
claim to see you for what you truly are: a terror to society; an agent of chaos - an avatar of
destruction.
The Goosechasers, as they call themselves, belong to a nefarious order of humans (and humanadjacent creatures) dedicated to your capture and suppression. Thanks to an unfortunate series
of events, you, Duchess Hilda von

你可能感兴趣的:(cs)