Hm. It seems related to the fact that I was setting two named variables inside (apply). I removed the string from the first one, and then it worked fine. I'll send a .lud shortly.
Here is the .lud. It compiles if I simply remove "MovesLeft" from the first variable in (apply).
Here is the .lud. It compiles if I simply remove "MovesLeft" from the first variable in (apply).