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.
Published on 06 Mar 2017
by Alexander Garber
all tags
100daysofcode activerecord android annoyances api apt arch array artix atom az3w backend bash blog browser bug callback career ci-cd cli cloud code coding config configuration cp crud cryptography css csv database db design devops django docker email erp feelsgood filter fugitive gif gist git gnome gnome pomodoro grep hebrew http ide isbn-fetcher iso javascript job search js kanban kindle koans learning linkedin linux logger manjaro map markdown microservices mobi mtp neovim nodejs nvchad packages panda pastbin patch portfolio post postgres pytest python rails reduce refactoring reflections rest routes rspec ruby salesforce script scripting security sed shell sql string_replacement study tdd terminal testing tmux ttd version_control vim vim sort walkthrough webdev workflow zsh