Skip to content
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

General Refactoring #26

Open
KingNook opened this issue Sep 19, 2024 · 0 comments
Open

General Refactoring #26

KingNook opened this issue Sep 19, 2024 · 0 comments
Labels
refactor Refactoring (neatifying) code

Comments

@KingNook
Copy link
Owner

Context

List of things that I would like to do wrt refactoring (will split of larger projects into separate issues)

The list

  • Split up Grid ? It is quite large but I feel like it does have a purpose (handles the game loop of 2048) - could potentially be split into a class for checks, a class for movement and a class for tile addition? then the main class would basically just be to manage all the others and to handle game over / restarts; note would also in this case add one for key handling most likely
@KingNook KingNook added the refactor Refactoring (neatifying) code label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactoring (neatifying) code
Projects
None yet
Development

No branches or pull requests

1 participant