Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bidoubiwa/advent-of-code-2021-deno
- Owner: bidoubiwa
- License: mit
- Created: 2021-12-01T20:51:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-27T02:41:08.000Z (almost 3 years ago)
- Last Synced: 2024-12-15T12:06:50.796Z (8 days ago)
- Language: TypeScript
- Size: 1.17 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)