rfpedrosa / turtle-challenge

A c# implementation for the Turtle Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

turtle-challenge

A c# implementation for the Turtle Challenge. Implementation details are described here

Getting Started

Prerequisites

  • .Net 5.x

Run a game

  1. Clone the repo

  2. Build the solution / generate binaries files

dotnet publish TurtleChallenge/TurtleChallenge.Console

  1. Run a game with example files

cd TurtleChallenge/TurtleChallenge.Console/bin/Debug/net5.0/publish/

dotnet TurtleChallenge.Console.dll ExampleInputFiles/game-settings.json ExampleInputFiles/moves.json

  1. Edit input files and run your own game :)

Run unit tests

dotnet test TurtleChallenge.UnitTests/TurtleChallenge.UnitTests.csproj

About

A c# implementation for the Turtle Challenge


Languages

Language:C# 100.0%