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

Added Chat Client and Canvas modules #421

Merged
merged 5 commits into from
May 25, 2016

Conversation

aadilzbhatti
Copy link
Contributor

@aadilzbhatti aadilzbhatti commented May 25, 2016

In this pull request, I have moved the Chat Client and Canvas objects and their respective functions into their own files, called "chat-client.js" and "canvas.js". This is in contrast to the current model with both of these objects defined in the global "app.js" code. I think that doing this will make it easier for incoming developers to be able to work with the current code as well as for us to test functionality in specific parts of the project without breaking others.

I plan to refactor more of the code and hopefully will be able to successfully break down the project into very simple components (game logic, chat client, game canvas, controls, relevant constants, etc.). I think overall this would make the project more welcoming to developers who want to use the code.

Please let me know if there's anything I should structure differently, rename, etc.

  

@igorantun
Copy link
Collaborator

Looks great, I'm sure it'll help a lot :)
Thanks once again for contributing!

@igorantun igorantun merged commit 52df1d2 into owenashurst:master May 25, 2016
@aadilzbhatti
Copy link
Contributor Author

👍

@aadilzbhatti aadilzbhatti deleted the modules branch May 25, 2016 18:52
@aadilzbhatti aadilzbhatti mentioned this pull request May 27, 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

Successfully merging this pull request may close these issues.

2 participants