python-mini-project
python-mini-project copied to clipboard
Feat: Modularize the game Caterpillar
Description
This Pull Request is trying to refactor and improve the modularization of the Capillar Game code, to do this I separate the game into two different classes one for the design and the other for the logic of the game, so with implementation will be easier to manage the reusability the code.
Fixes #262
- [x] Issue_no:
<262>
- [ ] Not applicable
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
- [ ] New project insert
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Documentation Update
Project
-
Your Project Name: Caterpillar Game
-
Short Description: Refactors the existing Caterpillar Game code to improve modularity, readability, and maintainability by separating game design and logic into distinct classes
Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.
- [x] I have named my files and folder, according to this project's guidelines.
- [x] My code follows the style guidelines of this project.
- [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] I have created a helpful and easy to understand
README.md
, according to the givenREADME_TEMPLATE.
- [ ] My changes do not produce any warnings.