11/27/24 – Half Day / Work Day

Summary: Today was a half day and we work on completing any late or missing or incomplete work (see list below).

Use this form to tell Mx. Epstein what you worked on today that is ready to be regraded. Otherwise, send an email.

Homework: None of the assignments above will be accepted after Sunday.

Robot Maze Challenge

Available commands are…

  • MOVE_FORWARD();
  • ROTATE_RIGHT();
  • MOVE_FORWARD();
  • CAN_MOVE(“direction”);

Choices for “direction” are…

  • “forward”
  • “backward”
  • “right”
  • “left”

Example Code…

if(CAN_MOVE(“right”)){
    ROTATE_RIGHT();
    MOVE_FORWARD();
}

Write one code that can guide the robot from the top left square to the bottom right square no matter which of the 6 situations the robot finds itself in.

You can test your code here. *