Spaghetti code! Will I learn to write procedures and functions?


#1

I am new to CodeCombat. I passed several levels. My hero has code book III (loops and conditions).
I am curious if there is an option to write functions/procedures, or to reuse my code from previous levels (libraries). So far I still write similar spaghetti code again and again and I am not sure if this is the right way how to write code…


#2

Currently there is no level that teaches function.

Currently!

The main campaign is extending into a new area, with mountains and loops (better ones). Likely functions will be teached there as well. Nobody knows (well, Nick does, he plans these things).

Stay tuned a little bit more until more info is revealed.


#3

While these haven’t been taught, you can use them already if you already know how to use them.