Toy Robot Code Challenge
Developer: Mark Longmuir
Language: C# .NET Core
Simulates a robot moving on a square tabletop of 5x5 units
- Open Robot.sln and build and run in Visual Studio 2017
- Or from Robot sub-directory:
- dotnet run RobotApp.csproj
- Run tests in VS2017 test runner
- Or from RobotTest sub-directory:
- dotnet test RobotTest.csproj
Accepts input from the command line.
Reports write to standard output.
Diagnostic information to standard error.
PLACE X,Y,F - Positions the robot at X, Y with bearing F (NORTH, EAST, SOUTH, WEST)
MOVE - Moves the robot one step forward
LEFT - Turns the robot left 90 degrees
RIGHT - Turns the robot right 90 degress
REPORT - Prints the robot's current position
END - Exits the program (or blank row)