Welcome to Save Your Village, a Python-based adventure game where your decisions will determine the fate of your village. Use your gold wisely and prepare for an epic defense.
The objective is simple: save your village from an impending attack by a Germanic tribe. Start with 1000 gold pieces and shop strategically at various stores to gather the necessary items.
-
Shop at Multiple Stores: Each store offers a unique inventory of items at different prices. You can only buy one item per store, so choose wisely.
-
Interactive Shopping: Type the name of the item you want to buy. If you have enough gold, the item will be purchased, and the cost will be deducted from your balance. The purchased item will be removed from the store's inventory.
-
Exit Options: If you're not ready to buy, you can simply type "exit" to leave the store. If you mistype an item, the game will automatically exit the store for you.
-
Inventory Management: View the combined inventory of all stores before and after your purchases. Track available items and your collected gear easily.
-
End-of-Game Summary: At the end of your shopping adventure, you will receive a detailed summary, including:
- Items purchased
- Total gold spent
- Remaining gold balance
- Version 1.0: Initial release with core shopping functionality.
- Version 1.2: Added the ability to exit stores without purchases and handle invalid inputs.
- Version 1.4: Improved performance with bug fixes and code refactoring.
- Version 1.5: Introduced combined inventory management for enhanced tracking and usability.
The game is implemented in Python, featuring a clean and interactive command-line interface for smooth gameplay. All core functionality is housed in the file:
gameInventory/Code.py
Ready to save your village and prove your strategic skills? Let's begin!