Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner puzzling solution in Creative category for Follow Instructions by Stensen
a={'f':(1,1),'b':(1,-1),'r':(0,1),'l':(0,-1)}
def follow(t):
r=[0, 0]
for i in t: r[a[i][0]%2]+=a[i][1]
return tuple(r)
Sept. 22, 2020