This is a command-line-based game where players manage a shop, crafting items and engaging in transactions with customers. Throughout the game, random events can occur, impacting the gameplay, and players can enhance their character's stats and skills. Players can also build affinity with costumers, which will allow them to negociate with them for higher prices.
-
Daniela Dantas
- Main game loop
- Buying and selling mechanics
- Customer behavior
- Crafting system
- Character stats
- Command-line interface (CLI)
-
Vitória Rodrigues
- Report in Markdown format
- Recipes for crafting
- Random day events system
- Buy and Sell System: Players can buy and sell items to customers, with fluctuating prices based on in-game events.
- Crafting System: Create items with varying quality depending on the character's experience and item prices.
- Customer Interaction: Customers with different levels of affection for the player, affecting their behavior and requests.
- Random Events: Special events, such as Black Friday and Christmas, affect item prices for the day.
- Character Stats: The player’s experience, money, and other stats are tracked and influence gameplay.
- Command-Line Interface (CLI): Simple but visually enhanced user interface using the
rich
andpyfiglet
libraries.
The project is organized into various Python files, each handling a specific part of the game logic:
main.py
: Contains the main game loop and overall game management.buy_sell.py
: Handles buying and selling mechanics, including item transactions.costumer_brain.py
: Defines customer variables, including their affection levels toward the player.dayevents.py
: Contains the random events system, managing special events that affect gameplay.items.py
: Contains the items available for crafting and selling.player_character.py
: Manages the player's character, including stats such as name, experience, and money.title_screen.py
: Handles the user interface (UI) display at the start of the game.empty_screen.py
: Provides a function to clear the terminal screen during gameplay.
rich
: A Python library for rich text and beautiful formatting in the terminal, enhancing the visual aspect of the CLI interface.pyfiglet
: A library for generating ASCII art text, used for a decorative game title screen.
- Clone the repository:
git clone https://github.com/arbyun/Projeto-Smith-Shop.git
- Navigate to the project directory:
cd Projeto-Smith-Shop
- Run the game:
or
python main.py
py main.py
This project is licensed under the MIT License - see the LICENSE file for details.