-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lean into the globals life. I tried parameterizing every function with `Game*`, but it impeded clarity and we ended up still needing globals. De-globalizing would require growing `Game` and complicating the code further, with no practical benefit: We’d always still have a singleton anyway. This program is too small to benefit, and we can make it smaller by accepting that.
- Loading branch information
1 parent
8102713
commit 494cae8
Showing
2 changed files
with
76 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters