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

Remove the globals madness #173

Open
Sothatsit opened this issue May 29, 2021 · 0 comments
Open

Remove the globals madness #173

Sothatsit opened this issue May 29, 2021 · 0 comments
Labels
enhancement Enhancements to existing features

Comments

@Sothatsit
Copy link
Collaborator

Currently we use globals everywhere. For the game board, for the dice, for the game, for the menu, everywhere... It would be much nicer to refactor the code to not rely on globals, and instead have each class take its dependencies as arguments in their constructors.

@Sothatsit Sothatsit added the enhancement Enhancements to existing features label May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancements to existing features
Projects
None yet
Development

No branches or pull requests

1 participant