julian-hdt-cli
v1.0.0
Published
Simple Drawing Tool
Downloads
2
Readme
Huge Coding Challenge
Install
$ npm install -g julian-hdt
$ huge-draw-tool cf <path-to-input-file>
Usage
Output a canvas in the terminal given a set of instructions from an input text file or passing args to the cli tool.
Completed Commands
Create Canvas: Should create a new canvas of width w and height h.
c <width> <height>
Create create a new canvas using instructions from a txt file.
cf <file>
Time Frame
Spanning a few hours after getting home from work & few hours the next morning before work.
Biggest Challenge
Making the bucket tool work with lines that created boxes using the canvas border.
Approach
First I started with setting up testing for the app, but while thinking about how I should create a solution for this challenge I decided that it is more important to create the tool so that the reviewers could see my intial attempt for a solution vs having tests without any solution.