Use a 1 m x 1m game board and place robot in the middle.
Program your robot to each all four walls, using its Touch Sensor.
Program the robot move and touch all four walls, using its touch sensor.
The robot can touch the walls in any order, so as long it makes contact with the touch sensor.
Program the robot to touch all four walls of a room, using its Touch Sensor to know when it has reached each one.
Hint 1: Change to Make sure the Touch Sensor is positioned so it can detect when the robot reaches a wall.
Hint 2: The room is rectangular, so each wall is a 90-degree turn from the last.
Hint 3: Some fine tuning may help, such as slowing movement speeds, pausing after a turn, or backing away from a wall before turning.