Mars Rover Coding Challenge
Implementation of the mars rover challenge.
Testing
Tests can be run from the root of the project with
go test -mod=vendor ./...
Running
First build the executable
go install github.com/robotlovesyou/mars/mars
Assuming your go /bin folder is in your path he executable can then be run by passing it the path to a config file. Two config files are included in the root of the project
mars example.txt
6, 4, NORTH
mars example_stops.txt
5, 4, NORTH STOPPED