Skip to content

slothsoft/advent-of-code

Repository files navigation

Advent of Code

This is my try in solving the Advent of Code challenges. Note that puzzle inputs should not be shared.

Some of the challenges where done in a JavaScript simulation.

How to Use

On December 1st, do this:

  • update cookie in Calendar/environment.json
    • get the cookie by logging in to Advent of Code and displaying the cookies
  • to update calendar tiles, use cmd.exe /c '.\build.bat'
  • to create a new template, update year and programming language in template.bat and then use cmd.exe /c '.\template.bat 1' ("1" being the day)

Possibly general algorithms

  • 2022/12 Dijkstra
  • 2022/07 FileSystem
  • 2022/16 Permutation

To-Do-List

  • move algorithms somewhere safe
    • Dijkstra is in 2019-20 and 2021-15 and 2023-17
    • Direction is EVERYWHERE
    • Stringify of the parsed matrixes (maybe extract matrixes?)
    • how to calculate quadratic function: 2023-21
    • SnowverloadExtensions from 2023-25
    • intersecting 3D lines: 2023-24

2024

2023

2022

2021

2020

2019

Contributors