https://github.com/jdk2pq/advent-of-code-2022
๐Advent of Code 2022 ๐
https://github.com/jdk2pq/advent-of-code-2022
Last synced: 3 months ago
JSON representation
๐Advent of Code 2022 ๐
- Host: GitHub
- URL: https://github.com/jdk2pq/advent-of-code-2022
- Owner: jdk2pq
- Created: 2022-12-01T04:55:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T17:31:11.000Z (over 2 years ago)
- Last Synced: 2025-02-28T22:10:30.473Z (3 months ago)
- Language: TypeScript
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code 2022
Advent of Code Template using Node TS for Current Year.
Forked from [johnbeech's repo](https://github.com/johnbeech/advent-of-code-nodejs-template)
## Solutions
[http://jakekenneally.com/advent-of-code-2022/solutions/](http://jakekenneally.com/advent-of-code-2022/solutions/)
## Setup
If using the Advent of Code Template repo; click [**`Use this template`**](https://github.com/MJGTwo/advent-of-code-nodets-template/generate) and set a new repository name.
Clone this repo, then run `yarn install` to install dependencies.
If this a brand new repository, run: `ts-node setup` to configure it for Current Year and check in the changes.
## Running
To run a solution by day, use:
```bash
yarn start day1
```If a solution exists for that day, then it will run with basic tests. If a solution does not exist, it will copy the template, and then try to download that day's puzzle input using [AOCD](https://github.com/wimglenn/advent-of-code-data).
If you don't have AOCD configured, populate `input.txt` with your solution input from the AOC website, and then start implementing your solution in the new folder for that day.
Once you have calculated a solution, you should manually submit your answer through the website.