Quote:
Originally Posted by BlueMelon
Just a tip, your code lacks of comments.
|
I'd rather see clear code and functions/variables with appropriate names. Comments should only really be used when it might be unclear to another coder what you're trying to do.
I hate seeing stuff like this:
PHP Code:
// set hp to 100
this.hp = 100;
Unless you're trying to explain an algorithm to someone who isn't familiar with the language, having too many comments is just annoying.