I've been playing Code Combat in order to learn about programming in Javascript. I think it's been very helpful (similar to a typing game, in teaching a real world skill). Are questions related to challenges within these games better suited for gaming.stackexchange.com or stackoverflow.com?
I feel like the games discussed on gaming.stackexchange.com are not as relevant to helping people get around coding challenges.
Example question:
In Code Combat I have an object (a character named Tharin). I control him by calling
this.moveUp(); this.moveDown(); this.moveLeft(); this.moveRight();
when I'm writing code out to move him, I have to repeat those methods.
this.moveDown(); this.moveDown(); //etc.
Is there any way I can write a line of code that would repeat the action "n" times?
Please let me know if you need more info.