Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bidoubiwa/advent-of-code-2021-deno


https://github.com/bidoubiwa/advent-of-code-2021-deno

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

Advent of code 2021 with Deno





### Requirements

I only guarantee the scripts working with the following configuration

```
deno 1.16.4
v8 9.7.106.15
typescript 4.4.2
```

### Usage

```bash
deno run --watch --A
```

#### Example

```
deno run --watch -A src/day_13/part_1/index.ts
```

### Generate new day

The scripts automatically creates a new `day_x` folder based on the last day number already existing.
It adds two directories `part_1` and `part_2` and copies the `README.md` from the [repo of irevoire]([email protected]:irevoire/aoc2021.git).
Let's hope he ran his script before you launch this script.

```bash
deno run --unstable -A scripts/init_day/index.ts
```

### Day 1

- **Part 1** [code](src/day_01/part_1/aoc.ts)

- **Part 2** [code](./src/day_01/part_2/aoc.ts)

### Day 2

- **Part 1** [code](./src/day_02/part_1/aoc.ts)

- **Part 2** [code](./src/day_02/part_2/aoc.ts)

### Day 3

- **Part 1** [code](./src/day_03/part_1/aoc.ts)

- **Part 2** [code](./src/day_03/part_2/aoc.ts)

### Day 4

- **Part 1** [code](./src/day_04/part_1/aoc.ts)

- **Part 2** [code](./src/day_04/part_2/aoc.ts)

### Day 5

- **Part 1** [code](./src/day_05/part_1/aoc.ts)

- **Part 2** [code](./src/day_05/part_2/aoc.ts)

### Day 6

- **Part 1** [code](./src/day_06/part_1/aoc.ts)

- **Part 2** [code](./src/day_06/part_2/aoc.ts)

### Day 7

- **Part 1** [code](./src/day_07/part_1/aoc.ts)

- **Part 2** [code](./src/day_07/part_2/aoc.ts)

### Day 8

- **Part 1** [code](./src/day_08/part_1/aoc.ts)

- **Part 2** [code](./src/day_08/part_2/aoc.ts)

### Day 9

- **Part 1** [code](./src/day_09/part_1/aoc.ts)

- **Part 2** [code](./src/day_09/part_2/aoc.ts)

### Day 10

- **Part 1** [code](./src/day_10/part_1/aoc.ts)

- **Part 2** [code](./src/day_10/part_2/aoc.ts)

### Day 11

- **Part 1** [code](./src/day_11/part_1/aoc.ts)

- **Part 2** [code](./src/day_11/part_2/aoc.ts)

### Day 12

- **Part 1** [code](./src/day_12/part_1/aoc.ts)

- **Part 2** [code](./src/day_12/part_2/aoc.ts)

### Day 13

- **Part 1** [code](./src/day_13/part_1/aoc.ts)

- **Part 2** [code](./src/day_13/part_2/aoc.ts)

### Day 14

- **Part 1** [code](./src/day_14/part_1/aoc.ts)

- **Part 2** [code](./src/day_14/part_2/aoc.ts)

### Day 15

- **Part 1** [code](./src/day_15/part_1/aoc.ts)

- **Part 2** [code](./src/day_15/part_2/aoc.ts)

### Day 16

- **Part 1** [code](./src/day_16/part_1/aoc.ts)

- **Part 2** [code](./src/day_16/part_2/aoc.ts)

### Day 17

- **Part 1** [code](./src/day_17/part_1/aoc.ts)

- **Part 2** [code](./src/day_17/part_2/aoc.ts)