OneBlock.Dev
by Khiem Nguyen

With   move_forward()   rotate_clockwise() rotate_counterclockwise()   detect()   dot()   remove_dot()
Play Coding. Custom Labyrinth. Enjoy.

OneBlock.Dev is an edutainment tool.

It’s all set and ready for you to explore!
Dive into it and have some fun with these functions:
  • move_forward(): Moves the block one step forward in its current direction.
  • rotate_clockwise(): Rotates the block 90 degrees to the right (clockwise).
  • rotate_counterclockwise(): Rotates the block 90 degrees to the left (counterclockwise).
  • dot(): Print a dot at the block's current position.
  • dot_and_remove(): Print and remove dot at the block's current position
  • remove_dot(): Remove a dot at the block's current position.
  • detect(): Detect the object is plain or obstacles from the current position to 1-step ahead.
  • stop(): Stop moving immediately.