Project02 Monster Adventure Game - Milestones
Milestone 1
- Pay attention: Name your project lastName_FirstName_proj2Monster-v01.py
- Create a game board on PAPER.
- Name your file lastName_FirstName_proj2Monster-v01.py
- Create the standard 9 room map:
mymap
and print room numbers showing 3 rooms per floor - Two choices:
- Create the standard lists:
stairs_list -> [ . , . ], swords_list -> [ . , . ], magicStones_list ->[ . , . ], monsters_list ->[ . , . ], inventory_list -> [], and boss_list[ . , . ].
The content of each element in the list should either be a True or False to indicate whether the item is in the room. inventory_list should be an empty list at the start of the game. - OR Like we did in the demo, create a list of nine lists representing nine rooms. Collapse all possible things that can occupy a given list into one list per room.
- Other implementations are possible, but you must discuss them with Mr. Reiss or one of our class volunteers before implementation.
- Implement left, right, up, and down commands. An alert message should be displayed if player runs into a wall or room does not have any stairs to go up or down.
- Implement
while
loop to request the next player command.
Milestone 2
- Pay attention: Name your file lastName_FirstName_proj2Monster-v02.py
- Implement quit and help commands
- Implement look command to display what is in the room (e.g. monster, sword, stairs, etc..)
Milestone 3
- Pay attention: Name your file lastName_FirstName_proj2Monster-v03.py
- Create list
inventory_list[ . , . ]
. - Implement grab command to place the grabbed item in your inventory and the item is removed from the room.
- Use the
a_list.remove('item name') and a_list.append("item_name")
methods to remove items from one list and them to another list.. - Implement inventory command to display the contents of your inventory.
Final Version
- Pay attention: Name your file lastName_FirstName_proj2Monster-Final.py
- Implement fight command to use the sword in your inventory to defeat the monster. If you don't have a sword, you get eaten when you try to fight or leave and display a You Lose and Gameover message!
- If you defeat the monster with a sword, monster disappears from room, and sword disappears from inventory.
- Implement Boss Monster for the win! Defeat the Boss Monster with a sword and magic stone.
- Then grab the Prize and display a You Win and Gameover message!
No comments:
Post a Comment