Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kennyrlienhard/adventofcode2016

Advent of Code 2016 solutions
https://github.com/kennyrlienhard/adventofcode2016

advent-of-code-2016 algorithms challenges typescript yarn

Last synced: about 2 months ago
JSON representation

Advent of Code 2016 solutions

Awesome Lists containing this project

README

        

# Advent of Code 2016

[Advent of Code 2016](https://adventofcode.com/2016) in [TypeScript](https://www.typescriptlang.org/).

## Requirements

Install [Node.js](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/) package manager

## Installation

Run the following command to install the packages:

```
yarn
```

## Usage

The main file is available under `/src/main.ts`. Here, you can specify the days to solve in the variable `DAYS_TO_SOLVE`. The source code for each day is available in directory `/src`. The related data can be found in directory `/src/data`.

For development, run the following command so that the application automatically restarts when file changes are detected.

```
yarn run dev
```

To run the main file once:

```
yarn start
```