Ropuzzle

Select Level :

async function solvePuzzle(tt) {

}

Available Methods


tt.enabled -> boolean : Can the turtle still move?
tt.onRed() -> boolean: Is the turtle on a Red square?
await tt.fd() : Move the turtle forward one space
await tt.fd(n) : Move the turtle forward n space
await tt.rt() : Turn the turtle RighT one quarter turn.
await tt.rt(n) : Turn the turtle RighT n quarter turns.
await tt.lt() : Turn the turtle LefT one quarter turn.
await tt.lt(n) : Turn the turtle LefT n quarter turns.