Skip to content

Josh-Cena/aoc2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

Language: TypeScript (4.5.5) NodeJS (16) Package Manager: pnpm

This repo uses my standard AoC setup. Inputs are stored as inputs/day{n}/{name}.txt. By default name is real (the real question). To run a specific day's solution, use the following command:

pnpm do {day} {part} {name}

For example, to run the solution for day 1, part 2 with the example input:

pnpm do 1 2 ex

(And make sure that inputs/day1/ex.txt exists.)

Note: this repo is reconstructed.

I was young and naïve and didn't actually save each day's work. I used a single file and kept overwriting it. To pay tribute, I'm using the older TypeScript/Node versions I used back then.

About

Proof that I can write crappy (?) TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published