When trying to get a better score it's not updating the previous solution

Issue #1 new
Scott McCreary created an issue

On level one I first did the level without using any F1 commands, and solved it using several more steps than the target of 5. I then used F1 and did it in five, but it wouldn't overwrite the previous solution so i wasn't able to better my score. This was tested with the online flash version of the game.

Comments (4)

  1. Scott McCreary reporter

    One level 1 try Tu W W Ta as F1, then F1 F1 W W, solution in 4steps which beats the 3 star requested 5 steps, note that the last Ta is skipped since we hit the exit first. So perhaps your star ratings should trigger if you get to the requested number of steps, or less.

  2. Aditya Raisinghani

    Hey,

    I think this isn't an issue exactly. When it says 5 steps it means a total of only 5 commands(your example has 8 commands- 4 in F1 and 4 in main). However, I have no clue how to do this level using just 5 commands.

    Check out level 3. The objective is 9 steps. Keep F1 was W,W,Ta,W,Ta and main as F1,F1,F1,F1 and you get 3 stars. However modify main to F1,F1,F1,W,W(10 commands in total) and you only get two stars. I tested this level first with the 10 command steps and got two stars and then tried the 9 command steps and got 3 stars which got overwritten.

    I think the bug is more like changing the goal of level 1 because its unrealistic. Or maybe I just didn't get it.

  3. Aditya Raisinghani

    Apologies. Did not notice the Todo already had one point - "Don't count function calls when counting the number of commands in the solution." I've fixed this. Will issue a pull request soon.

  4. Log in to comment