A turtle must walk through a minefield. Write a program (console application) that will read the initial game settings and one or more sequences of moves. For each move sequence, the program will output whether the sequence leads to the success or failure of the little turtle. The program should also handle the scenarios where the turtle doesn’t reach the exit point or doesn’t hit a mine.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
.NET Core sdk v2.2
N/A
Explain how to run the automated tests for this system
Open Visual Studio or Rider (My favorite IDE) then run unit tests project Application.UnitTests
How to test it in real
cd MainProgram
dotnet run ../Sample/test1.txt
N/A
- Kevin Nguyen - Initial work
- This source code is for interview purpose