Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/knightburton/advent-of-code

Solutions of advent of code puzzles in javascript.
https://github.com/knightburton/advent-of-code

advent-of-code fun javascript

Last synced: 15 days ago
JSON representation

Solutions of advent of code puzzles in javascript.

Awesome Lists containing this project

README

        

# Advent of Code

> My solutions of [*Advent of Code*](http://adventofcode.com/) puzzles in javascript.

### How to check:
Note: requires node.js and npm to be able to use this properly.
I am using the latest ones, of course.
```
# Get the repository
$ git clone https://github.com/knightburton/advent-of-code.git

# Change dir
$ cd advent-of-code

# Install the dependencies
$ npm install

# Select a year and a day to run the scripts
$ npm start --year --day
# or
$ npm start -y -d

# Example:
$ npm start -y 2017 -d 4
```

Note: If you want to change the input puzzle of a day just change the content of the `input.txt` in the correct directory.