Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/knightburton/advent-of-code
- Owner: knightburton
- Created: 2018-03-24T15:32:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-19T22:18:48.000Z (about 6 years ago)
- Last Synced: 2024-11-15T17:47:05.778Z (3 months ago)
- Topics: advent-of-code, fun, javascript
- Language: JavaScript
- Homepage:
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.