julian-hdt-cli

1.0.0 • Public • Published

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>

huge-draw-tool

Create create a new canvas using instructions from a txt file.

cf <file>

huge-draw-tool-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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i julian-hdt-cli

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    464 kB

    Total Files

    7

    Last publish

    Collaborators

    • zardtar