Hello! Here I am again. Thanks nicola1 for the debug error suggestion. In this screenshots I will refer to the testcase Several Floors.
1) In the first screenshot, what you see at step 14 of the game is that the position of the leading clone is one step behind what is shown in the GUI. (The leading clone is at position 17, but the code provides 16)
2) This lag seems to propagate at step 35 as you can see in this second screenshot where the position provided by the code is now two steps behind the GUI. (Leading clone on elevator at first floor, position 4, code provides 6).
3) As a result for my code the clones do not block as soon as they jump on an elevator if they have the wrong direction.
Can you guys help me?