Storing all node connections inside the Game requires unnecessary dictionary lookups and may make code harder to read.
Proposes storing Node connections inside the nodes themselves.
Additionally includes type hints for all current code.
Fixes bug that allows players to enter numbers outside bounds.
Types of changes
[X] Bugfix (non-breaking change which fixes an issue)
[x] Quality of Life (Code Readability related changes)
Checklist
[X] My changeset covers only what is described above (no extraneous changes)
[X] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[X] I have added necessary documentation (if appropriate)
[X] Any dependent changes have been merged downstream
Further comments
Type hints will be helpful for linting/auto-suggest/reasoning. I believe we should use them when possible moving forward.
Proposed changes
Storing all node connections inside the Game requires unnecessary dictionary lookups and may make code harder to read. Proposes storing Node connections inside the nodes themselves.
Additionally includes type hints for all current code. Fixes bug that allows players to enter numbers outside bounds.
Types of changes
Checklist
Further comments
Type hints will be helpful for linting/auto-suggest/reasoning. I believe we should use them when possible moving forward.