Code for levels I have beat in the online CodeCombat game. CodeCombat is an online game that teaches code, while your hero slays ogers and other dangerous enemies. For each item your hero equipes, your hero is granted skills that allow you to write different code to accomplish your mission. For example, your standard boots allows you to write moveXY functions, while boots of jumping allows you to use jumpTo.
Notes written by the game developers are denoated with #. Notes written by me are denoated with """ """. My notes are usually reminders about what items to equip, for my code to work.
Play for yourself at CodeCombat.com
As you progress through different worlds, you will employ more complex coding skills. The skills needed for each world are listed below:
In the Dungeon you will learn how to use syntax, methods, parameters, strings, loops, and variables.
In the Forest you will learn how to write if/else statements, boolean logic, relational operators, functions, object properties, event handeling, and input handeling.
In the Desert you will learn arithmetic, counters, while-loops, break, continue, arrays, string comparison, and finding min/max.