Looking for CodeCombat's Codex


#1

Hi there, I’m new to CodeCombat and I was wondering if there were a full documentation of the game. Like the WordPress Codex.

What I’m looking for is some documentation listing all the methods and variables used in the game.
Example for the hero object:
hero.moveXY(x, y);
hero.attack(enemy);
hero.health;

I know we can see some information while playing the levels, but I would like to access all of it.

Thank you!


#2

@CyrilAntoni Off hand I don’t know if someone has created one or not. But the code is open source: https://github.com/codecombat/codecombat

I am sure its in there somewhere. If you want to create a list, I am sure that other people might find it useful too.

But remember you can only use the commands that are available for that level. Based on your equipment.


#3

Thank you Harry, I’ll have a look :slight_smile: