Lightbot flash12/8/2023 ![]() ![]() Even cleverly inserting instructions into the subroutines that acted as no-ops (like jumping when you're not at a step) didn't make it work. And that one occured only twice, for a total savings of 6 instructions - nowhere near enough. And there were no common subsequences longer than 4 characters. Full instructions for the level was a string about 35 characters long, far more than the 26 slots available. That means go forward 3 times (FFF), jump up onto the first step (J), turn left to face the other steps (L), then jump twice more to get to the top (JJ). For instance, the first part of level 10 is: FFFJLJJ. I even went so far as to assign a letter to each instruction (Forward, Left, Right, Jump, On) and create strings representing different parts of the level. So that one will have to be done last." Then I spent about half an hour hitting my head, trying to find some way to turn on the right switch, yet still have enough instructions available afterwards to get all the way back to the left one. When I looked at this level, I said to myself: "You can't jump back up and over the two-block barrier after you turn on the light to the left side. It's funny how preconceptions can hurt you. However, level 10 threw me for a loop in a big way. Most of the levels are quite easy, with only 10, 11 and 12 being even a bit challenging. So you're forced to use the subroutines to automate repeated tasks, instead of writing them out longhand. The other challenge is that in the later levels, the number of instructions slots available is less than the total number of moves required to solve the level. It's a little more interesting than that though, because it's 3D (there are blocks stacked up that you have to jump up and down on) and there are blue squares/switches/lights that you have to activate. This is basically like LOGO with a robot. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |