Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varbrad/aoc
https://github.com/varbrad/aoc
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/varbrad/aoc
- Owner: varbrad
- Created: 2019-11-23T13:26:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:29:24.000Z (almost 2 years ago)
- Last Synced: 2023-03-21T10:45:14.720Z (almost 2 years ago)
- Language: TypeScript
- Size: 438 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AoC Super-Repo
Repository of AoC solutions written in TypeScript
I am using this as a base for the 2019 edition of Advent of Code, but am also going back to previous years and solving problems I didn't solve before (either because I was too dumb or just never got round to it).
### Rules
I've applied some self-imposed rules upon myself.
- A single test file cannot take more than 1 minute to run on my machine. If that happens, I am deeming my solution too inefficient.
- Must pass linting and cyclomatic complexity rules.
- Try and make code as TS friendly as possible.### Running Solutions
All solutions are written in the relevant `src/YEAR/dayX/solution.ts` file.
As for the test cases, they can be run by doing something like `npm run test YEAR/dayX`.