Skip to content

clemenshelm/adventofcode-2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2017

50 coding puzzles before Christmas. All of these puzzles were published in December 2017 on adventofcode.com. In this repo you'll find all 50 puzzles along with my solutions in JavaScript.

How to run a solution

On your command line, move to the directory of the puzzle you'd like to run. First, install the dependencies:

npm install

All puzzle solutions can be run with npm start. Pass input to the puzzle as command line argument:

npm start 12345

All examples come with the original input, stored in ./input. This is how to run a puzzle with the original input:

npm start '$(< input)'

There are test cases for all examples given in the puzzle description. You can run them with

npm test

Requirements

Examples might not work with node versions < 8.

About

50 coding puzzles before Christmas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published