This pull request includes several changes to enhance the project structure, improve code readability, and add new features. The most important changes include adding a changelog, updating the project documentation, configuring a code formatter, and introducing new methods and attributes to the Entity and Monster models.
Documentation and Configuration Updates:
CHANGELOG.md: Added a comprehensive changelog documenting all notable changes to the project.
README.md: Updated the README file to include detailed documentation, project structure, and quick start instructions.
Code Formatting:
.pre-commit-config.yaml: Configured the Black code formatter to ensure consistent code style across the project.
Model Enhancements:
app/models/entity.py: Added new methods (Attack, Defend, TakeTurn) and attributes (is_defending) to the Entity class to support combat mechanics.
app/models/monster.py: Implemented the GenerateRandomStats method in the Monster class to generate random stats based on the player's level.
Added combat system!
This pull request includes several changes to enhance the project structure, improve code readability, and add new features. The most important changes include adding a changelog, updating the project documentation, configuring a code formatter, and introducing new methods and attributes to the
Entity
andMonster
models.Documentation and Configuration Updates:
CHANGELOG.md
: Added a comprehensive changelog documenting all notable changes to the project.README.md
: Updated the README file to include detailed documentation, project structure, and quick start instructions.Code Formatting:
.pre-commit-config.yaml
: Configured the Black code formatter to ensure consistent code style across the project.Model Enhancements:
app/models/entity.py
: Added new methods (Attack
,Defend
,TakeTurn
) and attributes (is_defending
) to theEntity
class to support combat mechanics.app/models/monster.py
: Implemented theGenerateRandomStats
method in theMonster
class to generate random stats based on the player's level.Minor Code Improvements:
app/database/mongo/queries/player.py
: Fixed indentation and renamed a method for consistency. [1] [2]