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.