Beispiel #1
0
        public override void PartOne(IInput input, IOutput output)
        {
            var start      = Hex.Origin;
            var directions = input.Content.ParseDirections();

            var end = WalkRoute(start, directions);

            output.WriteProperty("Distance Between", HexHelper.ManhattanDistance(start, end));