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

code walkthrough and cleanup #37

Open
payload opened this issue Mar 31, 2012 · 3 comments
Open

code walkthrough and cleanup #37

payload opened this issue Mar 31, 2012 · 3 comments
Assignees

Comments

@payload
Copy link
Collaborator

payload commented Mar 31, 2012

  • learn where is what and how is stuff connected
  • clean stuff which hurts eyes
  • make things clear and short. the flow of code and data should be easy to understand
@ghost ghost assigned payload Mar 31, 2012
@payload
Copy link
Collaborator Author

payload commented Mar 31, 2012

  • Naubino.coffee and related files ( :D ) contains initialization code
  • Naubino is also the global namespace
  • depends on html and all other files depend on Naubino

@payload
Copy link
Collaborator Author

payload commented Mar 31, 2012

  • dependancy analysis: coffee$ grep -o 'Naubino\.[^. ]\+' *

@payload
Copy link
Collaborator Author

payload commented Apr 1, 2012

  • main configures Naubino: wires events and states, defines callbacks and mostly sets active games (dependency on *Game)
  • Naubino does never depend on a concrete Game :-)
  • Games may depend on Naubino, cause they need access to canvases, signals and stuff like that (we could start here an globals vs singletons vs dependency injections debate... but i did now a singleton and trust in grep and sed)

@payload payload closed this as completed Oct 27, 2016
@hoodie hoodie reopened this Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants