aocXX_00
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
This is a great template if you want to solve the https://adventofcode.com puzzles in a TDD style:
- dump your puzzle input into the
input
function - copy/paste sample input and output from the page
- once all assertions pass, the solution is calculated
There is one function for each star that can be achieved.
Some helpers for common tasks are defined at the end of code: debug
, toInt
, exctractNumbers
, sum
, ... ?
PS: Did you know advent of code goes as far back as 2015 and you can still solve those puzzles?
Migrated from folder: adventofcode/aocXX_00