This repository has been archived on 2020-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
ludum-dare-46/programmingGuide.md
2020-04-17 15:20:05 -04:00

17 lines
594 B
Markdown

# guide for how we should program
## states
every separate of the game (title, transition, paused, etc.) should have a separate spot in a main switch statement, and have a separate folder where all code relating to that state should be
## magic numbers
no magic numbers, numbers that potentially might need to be changed should be a constant in constants.js
## comments
I don't care how you comment, just make sure we can all understand your code
## source control
Work on your own branch, which should be named what you are working on. Master should always be working