It's like Advent of Code, but British
  • TypeScript 100%
Find a file
2026-11-05 15:41:44 -06:00
challenges trim the input: the old runner did that before calling a solution 2026-11-05 15:41:44 -06:00
.gitattributes Initial commit 2020-12-18 16:00:03 -06:00
.gitignore keep only the challenges: tooling moved to the puzzle hub 2026-11-05 12:15:05 -06:00
hub.db keep only the challenges: tooling moved to the puzzle hub 2026-11-05 12:15:05 -06:00
puzzlehub.json solutions in typescript, with the same header comments as my other puzzle repos 2026-11-05 15:38:22 -06:00
README.md solutions in typescript, with the same header comments as my other puzzle repos 2026-11-05 15:38:22 -06:00
template.ts solutions in typescript, with the same header comments as my other puzzle repos 2026-11-05 15:38:22 -06:00

AquaQ Challenges

These are my solutions to the AquaQ Challenges, in TypeScript.

challenges/challengeNN/   solution.ts, README.md (the answer)
puzzlehub.json            tells the puzzle hub how this repository is laid out
hub.db                    answers and run history (sqlite)
template.ts               what a new solution starts from

Every solution exports one (async) solution function that takes the challenge input as a string and returns the answer. Only the challenges I have worked on have a folder.

Running them

The tooling lives in its own repository, puzzle-hub: a small Deno server with a CLI, a JSON API and a browser editor that can host any number of puzzle repositories like this one. Clone both next to each other, list this folder in the hub's hub.json, and:

deno task cli credential --source=aquaq --value=<your challenges.aquaq.co.uk session cookie>
deno task cli fetch --source=aquaq --challenge=0    # creates the solution and downloads input.txt (never committed)
deno task cli run --source=aquaq --challenge=0
deno task serve                                     # dashboard + editor on http://localhost:8000

If the download does not work for you, paste the input into the hub's Input panel instead. My own instance runs at https://challenges.codingap.dev.