As a programmer, I spent 35 playing the game, but I didn't quite understand what is going. Your video shows that the camera should be moving with a character, but in-game it doesn't, so the second level is getting solved blind.
I solved 3rd level with:
def _A():
gx = -100
gy = -100
found = False
d = 20
for xx in range(5, d):
say(xx)
for yy in range(-d, d):
if is_goal(get_pos_x()+xx, get_pos_y()+yy):
gx = get_pos_x() + xx
gy = get_pos_y() + yy
found = True
break
if found:
break
print(gx, gy)
dx = 1
if gx+0 < get_pos_x()+0:
dx = 0 - 1
dy = 1
if gy+0 < get_pos_y()+0:
dy = 0 - 1
while get_pos_x()+0 != gx+0:
print(get_pos_x(), gx)
move(dx, 0)
while get_pos_y()+0 != gy+0:
move(0, dy)
submit()
_A()
The "+0" stuff is because otherwise you get
<color=red>[ERROR]</color> <color=red>[ERROR]</color> Cannot compare values of types System.Double and System.Int32
but then you can't convert to int with int(x) either:
<color=red>[ERROR]</color> <color=red>[ERROR]</color> Unknown function 'int' at line 15
Similarly, comparison doesn't produce True without "+0".After the 3rd level I got solid blue screen. Is this intended?
P.S.I currently work on a commercial text-coding game (in esoteric programming language). If these types of games interest you as a player, feel free to join as a playtester:)