-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Modularize the game Caterpillar #266
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice idea to modularize and make it easier to use
Thank you so much, if you have more ideas of how to refactor this code and make it easier for other developers, please let me know. |
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
<262>
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
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.
README.md
, according to the givenREADME_TEMPLATE.