Summary: I built a Python adventure game that uses room navigation, item collection, and a win-or-loss condition to practice translating rules into program logic.
Project type: Foundational programming project.
Question: How can a text-based game track player location and inventory while applying movement and game-ending rules?
My role: I developed the game using dictionaries, functions, conditions, loops, and user input.
Solution: The player moves through museum rooms and collects six items before entering the Basement Vault. The game connects navigation, inventory, and the final encounter through program logic.
Review the work: Python source code.
Recommended verification: Check valid and invalid movement, item collection, repeated collection attempts, and entering the final room with and without all required items. This README does not report measured test coverage.
A beginner Python project demonstrating foundational programming concepts through an interactive text-based adventure game.
The Haunted Museum Text Adventure Game allows the player to navigate through different rooms of a haunted museum while collecting items. The goal is to collect all six items before entering the Basement Vault and encountering the Cursed Curator.
- Python programming
- Dictionaries
- Functions
- Conditional statements
- Loops
- User input
- Inventory management
- Program logic and debugging
Move between rooms using commands such as:
go Northgo Southgo Eastgo West
Collect items using:
get [item name]
The player must collect all six items before entering the Basement Vault to defeat the Cursed Curator.
haunted_museum_game.py — Main Python source code for the game.