17 lines
594 B
Markdown
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 |