This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* // This is the robot's control interface. | |
* // You should not implement it, or speculate about its implementation | |
* interface Robot { | |
* // Returns true if the cell in front is open and robot moves into the cell. | |
* // Returns false if the cell in front is blocked and robot stays in the current cell. | |
* public boolean move(); | |
* | |
* // Robot will stay in the same cell after calling turnLeft/turnRight. | |
* // Each turn will be 90 degrees. |