Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zsrobinson/advent-of-code
My attempts at Advent of Code
https://github.com/zsrobinson/advent-of-code
advent-of-code
Last synced: 2 days ago
JSON representation
My attempts at Advent of Code
- Host: GitHub
- URL: https://github.com/zsrobinson/advent-of-code
- Owner: zsrobinson
- License: mit
- Created: 2022-11-30T23:43:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T20:04:58.000Z (11 months ago)
- Last Synced: 2023-12-09T21:22:37.037Z (11 months ago)
- Topics: advent-of-code
- Language: TypeScript
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Advent of Code
A collection of my attempts at the various [advent of codes](https://adventofcode.com/) over the years. As a fair warning, I doubt that this will be the most elegant code in the world given that the goal is to generally prioritize speed.
Each folder in this repository is the year of that challenge, along with the language I used for that set of solutions. For example, my first year doing this was 2022 and I used Typescript, so that folder's name is `2022-ts`. Inside each of these folders, there's an additional folder for each day which contains the input text and the solution for part one and two.
## Project Setups
- 2022, 2023: Typescript using the [Deno](https://deno.com/) runtime
- run the file: `deno run --allow-read [file].ts`
- run the file and watch for changes: `deno run --allow-read --watch [file].ts`
- read file input: `const input = await Deno.readTextFile("./input.txt");`