3 ms·
i'd suggest using Git properly instead of making a new copy of the main JS file with every version: https://github.com/adityaravishankar/command-and-conquer/tr
by nikcub 15y ago
i'd suggest using Git properly instead of making a new copy of the main JS file with every version:
https://github.com/adityaravishankar/command-and-conquer/tree/master/js https://github.com/adityaravishankar/command-and-conquer/tre...
it would also be nice if you separated out the code into functional modules (as opposed to event functions) so that parts can be reused. I was interested in checking out your selection code since I implemented my own recently.
better modules and functional separation would also make it easier for others to understand and contribute to the code.
Not taking anything away from an awesome demo, just some suggestions.
- pavelkaroukin 15y agoAll these are minified versions. I believe these were kept in place with different version number attached to be able to quickly switch between, not for version control reasons.
- molmalo 15y agoCheck out cnc.js for a non-minified version.