Logo
  • Home
  • Equipment
  • Tutorials
  • Calendar
  • TPZ Staff Page
  • (Beta) Tech Ai Support
Fab Lab Website
Fab Lab Website

Step 4: Fencing in the sweeper

In this step you’ll…

  • Limit the mine sweeper’s movement, keeping it on the screen at all times

Add a new if statement to the forever loop

When the xCoord too low, reset to 0

When the xCoord is too high, reset to 4

Up next…

Time to reflect on how we got here, and what else we need to add to our program.

The Possible Zone