Skip to content

Latest commit

History

History
27 lines (17 loc) 路 1.07 KB

README.md

File metadata and controls

27 lines (17 loc) 路 1.07 KB

Advent of Code - Solver Build Status

This repository contains solutions for advent of code (https://adventofcode.com)

image

Go ahead and try to solve the challenge on your own before using this spoiler!

In order to use this solver simply go to: https://shahata.github.io/adventofcode-solver/ choose an year and follow the instructions.

image

Alternatively, if you don't want to share your cookie value online or if some solutions fail to run in the browser, simply clone this git and run the following commands. Note this requires node@19 or newer.

$ git clone [email protected]:shahata/adventofcode-solver.git
$ cd adventofcode-solver

$ npm install
$ export ADVENT_SESSION=your-cookie-value

$ npm start [year]
- or -
$ npm start [year] [day-number]

The commands above will work for all years since 2015.