programgames/trek-adventure/trek-adventure.xtl
ᵘp̲lay : Int -> Int -> Int
ᵘp̲lay ← { s m → 0 = t̲ally m ? (1 c̲at t̲ally s) r̲eshape s next ← ᵗc̲lock s ᵗm̲ove f̲irst m ((1 c̲at t̲ally s) r̲eshape s) c̲at next ᵘp̲lay 1 d̲rop m }
bay : Int
bay ← 8 20 1 0 0 0 1 0 1 0 0 0