A blog about software by Alexander Yaäkov Garber.

Fairly Productive Day



I climbed back in the coding saddle and finally started Advent of Code in earnest.

The first challenge is to calculate distance using taxi geometry.  To this end, I have drawn heavily from Ryan Bigg's Toy Robot solution in putting together a city grid and defining the behaviour of a city explorer who will follow the instructions.

So far I have the following:

  • City grid
  • Explorer
  • Simulator

I still need to work out the following:

  • Receive command line instructions
  • Convert the directions from the challenge into command line instructions

If all goes well, I should complete the challenge tomorrow.

Had to skip my exercise in the morning, and also no afternoon tea, but otherwise I made fairly good time.