logan-r / vilify

Unleash Your Inner Mad Scientist and Destroy the World (with Ice Cream) in this Open Source HTML5 Game
http://logan-r.github.io/vilify/
GNU General Public License v3.0
32 stars 25 forks source link

Small updates to improve efficiency and readability #9

Closed ghost closed 11 years ago

ghost commented 11 years ago

main.js New object representation of the game settings. xhrGet changed to ajax and allows for post requests too

physics.js New file to hold functions for math and physics Moved function randInt to from main.js to physics.js

index.html Added a nice header and updated to include physics.js

style.css Added styles for the header

sru commented 11 years ago

Ah... Nice little tweaks. Please follow the coding style. It'd be better to make a new branch or commit to the main branch directly because there are always conflicts. If you don't have write permission to this repo, then ask @Logi0 to add you in.

ghost commented 11 years ago

I am new to Github and couldn't figure out how to commit directly to the main branch. I believe @Logi0 game me write permissions. Are there any guidelines on the coding style?

logan-r commented 11 years ago

@williamvanr Never can have too much efficiency and readability! For most small changes you can edit the files directly on the github website. (I'm working on some more formal guidelines)

sru commented 11 years ago

use git clone git@github.com:Logi0/vilify, and if you commit, you can use git push to upload into GitHub repository. You could follow this site for basic tutorial for Git. Generally, the coding styles are self-explanatory. @Logi0 is working on some more formal guidelines (as he says).

Arkines commented 11 years ago

I like the changes