Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeldafan0225/advent-of-code-ts
My Advent of Code Solutions in Typescript
https://github.com/zeldafan0225/advent-of-code-ts
Last synced: 6 days ago
JSON representation
My Advent of Code Solutions in Typescript
- Host: GitHub
- URL: https://github.com/zeldafan0225/advent-of-code-ts
- Owner: ZeldaFan0225
- License: gpl-3.0
- Created: 2023-12-09T13:20:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-16T14:11:32.000Z (7 days ago)
- Last Synced: 2024-12-16T15:28:05.604Z (7 days ago)
- Language: TypeScript
- Size: 256 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent Of Code
Here are my solutions.
Days I solved:
**2023**
| Day | Part 1 | Part 2 |
|---|---|---|
| 1 | ✅ | ✅ |
| 2 | ✅ | ✅ |
| 3 | ✅ | ✅ |
| 4 | ✅ | ✅ |
| 5 | ✅ | ✅ |
| 6 | ✅ | ✅ |
| 7 | ✅ | ✅ |
| 8 | ✅ | ✅ |
| 9 | ✅ | ✅ |
| 10 | ✅ | ✅ (with some hints) |
| 11 | ✅ | ✅ |
| 12 | ✅ | ✅ |
| 13 | ✅ | ✅ |
| 14 | ✅ | ✅ |
| 15 | ✅ | ✅ |
| 16 | ✅ | ✅ |
| 17 | ✅ [with some hints](https://github.com/ckohen/adventofcode/blob/main/archive/2023/Day17.ts) | ✅ |
| 18 | ✅ | ✅ with [some help](https://github.com/ckohen/adventofcode/blob/main/archive/2023/Day18.ts) and [Wikipedia](https://en.wikipedia.org/wiki/Shoelace_formula) |
| 19 | ✅ | ✅ |
| 20 | ✅ | ✅ |
| 21 | ✅ | ❌ |
| 22 | ✅ | ✅ |
| 23 | ✅ | ✅ |
| 24 | ✅ | ✅ |
| 25 | ✅ | ✅ |**2024**
| Day | Part 1 | Part 2 |
|---|---|---|
| 1 | ✅ | ✅ |
| 2 | ✅ | ✅ |
| 3 | ✅ | ✅ |
| 4 | ✅ | ✅ |
| 5 | ✅ | ✅ |
| 6 | ✅ | ✅ (with the power of ai) |
| 7 | ✅ | ✅ |
| 8 | ✅ | ✅ |
| 9 | ✅ | ✅ |
| 10 | ✅ | ✅ |
| 11 | ✅ | ✅ |
| 12 | ✅ | ✅ |
| 13 | ✅ | ✅ |
| 14 | ✅ | ✅ |
| 15 | ✅ | ✅ |
| 16 | ✅ | ✅ |
| 17 | ✅ | ✅ [logic borrowed from](https://github.com/DJtheRedstoner/AoC2024/blob/main/src/main/java/me/djtheredstoner/aoc2024/days/Day17.java) |## Following scripts are available
`npm run run` => Runs the code
`npm run aoc` => Runs a day of advent of code
`npm run aoc_compile` => Compiles the code and runs a day of advent of code
`npm run compile` => Compiles the code
`npm run init_day` => Creates an empty day with input### Examples
`npm run aoc_compile -- 1 -s` Runs day 1 of the current year with sample data
`npm run init_day -- 2` Inits day 2 of the current year## Credits
The project structure was inspired by [ckohen's adventofcode](https://github.com/ckohen/adventofcode)