Hmm, I’m very annoyed at the bonus goal messing things up; basically if the paladin and artillery move to their target positions before the rest of the units do, the level exits immediately and the first goal is left incomplete.
Also, I think my level session is messed up; for some reason the initial hero code was my Binary Deployment code, then on the leaderboard it says I completed the level 7 days ago with an impossible time of 2.9 seconds. I also don’t see/get the achievements unless if I use Codecombat Direct.
String::slice(a, b) can be used to return a string from index
a up to but not including index
parseInt(num, 10) can be used to convert a String into a decimal Number; maybe even introduce regular expressions?, etc). Book V’s massive amount of documentation might be overwhelming…