-
Notifications
You must be signed in to change notification settings - Fork 8
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
Reorganization of the code (new modules) #18
Comments
Now the project is organized in a better way, it is easier to work comfortably without scrolling over 1000 lines of code in a single module 👍 |
I have actually started a refactoring of the original codebase myself, into an ECS design. You can see my work here: https://github.com/benmoran56/Minecraft This refactor is also arranged to have the code in one Scene, which will make it easy to seperate the main menu, game field, etc. with a simple SceneManager. Would you be open to adopting this type of design for TerraCraft? In my opinion it's the easiest way to go for maintainability and refactoring, which is important for projects that might have many contributors. |
As an update, I have opened a smaller pull request. Maybe we can forget about the ECS refactor for now, unless it makes sense to you. |
Yes, it's a good idea for me. My intention is to implement a main menu, and other features making them separate from the current code (classes and external functions), so your idea is 100% adherent to mine. Thank you for your help, I appreciate it very much. |
The main.py module has become too big! I want to divide the classes and functions into various modules to make the project more organized and easy to manage.
The text was updated successfully, but these errors were encountered: