{"id":22216679,"url":"https://github.com/jraams/aoc-2024","last_synced_at":"2026-05-03T01:31:53.205Z","repository":{"id":266125142,"uuid":"896953316","full_name":"JRaams/aoc-2024","owner":"JRaams","description":"Advent of Code 2024","archived":false,"fork":false,"pushed_at":"2024-12-25T09:58:28.000Z","size":1267,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T07:13:56.820Z","etag":null,"topics":["2024","advent-of-code","bun","puzzle","typescript"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/2024","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JRaams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T17:54:16.000Z","updated_at":"2024-12-25T09:58:31.000Z","dependencies_parsed_at":"2024-12-16T20:18:46.317Z","dependency_job_id":"8f3e9c5c-8dc6-4ca4-afee-97e3d2bdcbe8","html_url":"https://github.com/JRaams/aoc-2024","commit_stats":null,"previous_names":["jraams/aoc-2024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRaams%2Faoc-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRaams%2Faoc-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRaams%2Faoc-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRaams%2Faoc-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JRaams","download_url":"https://codeload.github.com/JRaams/aoc-2024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414551,"owners_count":20611367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2024","advent-of-code","bun","puzzle","typescript"],"created_at":"2024-12-02T22:12:48.818Z","updated_at":"2026-05-03T01:31:53.165Z","avatar_url":"https://github.com/JRaams.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024\n\nhttps://adventofcode.com/2024 by [Eric Wastl](http://was.tl/)\n\nSolutions using TypeScript with Bun (v1.1.38)\n\n![ten years of advent of code!](tenyears.png)\n\n![day 14 part 2 result: christmas tree](./src/14/tree.png)\n\n## 1. Requirements\n\n- Bun https://bun.sh/docs/installation\n\n## 2. Running\n\n`bun install`\n\nGo to the folder of a specific day:\n\n`cd src/01`\n\nCreate the file `input.txt` and paste aoc puzzle input\n\nRun part A or B\n\n`bun run a.ts`\n\n## 3. Puzzle descriptions\n\n1. 💫️🌑️🌑️🌑️🌑️ Starting off easy with some simple calculations\n2. 💫️🌑️🌑️🌑️🌑️ Abs + sign to calculate whether or not a report is safe.\n3. 💫️🌑️🌑️🌑️🌑️ Look in computer memory instructions string for MUL(x,y) with some regexes\n4. 💫️💫️🌑️🌑️🌑️ Finding X-MAS patterns in a grid of characters\n5. 💫️💫️🌑️🌑️🌑️ Ordering pages according to a ruleset, basic sorting algorithm\n6. 💫️💫️💫️🌑️🌑️ Grid walking until out of bounds + cycle prediction\n7. 💫️💫️🌑️🌑️🌑️ Recursion for calculating all possible number equation outcomes using operators (+, \\*, ||).\n8. 💫️💫️🌑️🌑️🌑️ Finding antinodes in a grid of antennas with different frequencies\n9. 💫️💫️💫️💫️🌑️ Filesystem disk / block defragmenter\n10. 💫️💫️🌑️🌑️🌑️ Finding all possible routes in a heightmap grid\n11. 💫️💫️🌑️🌑️🌑️ Applying rules to a line of rocks, like a growing 1d game of life. ([2021 day 6](https://adventofcode.com/2021/day/6))\n12. 💫️💫️💫️💫️🌑️ Calculating area / perimeter of weirdly shaped plots of land in a grid\n13. 💫️💫️💫️💫️🌑️ Using Cramer's rule to calculate a system of two equations\n14. 💫️💫️💫️🌑️🌑️ Moving robots in a 2D grid with a cycling pattern that end up creating a picture of a tree.\n15. 💫️💫️💫️🌑️🌑️ Predicting a robots position in a 2D warehouse grid. The robot can move multi cell objects.\n16. 💫️💫️💫️💫️🌑️ Finding all paths in a 2D grid where turning is 1000x more expensive than going straight.\n17. 💫️💫️💫️💫️💫️ Intcode computer with a catch: find an input that turns the program output into itself\n18. 💫️💫️💫️🌑️🌑️ Pathfinding in a 2D grid where more and more obstacles get added.\n19. 💫️💫️💫️🌑️🌑️ Find all ways to arrange towels using unlimited amounts of colored stripe patterns.\n20. 💫️💫️💫️💫️🌑️ Find all ways of cheating to save at least 100 steps in a 2D grid maze\n21. 💫️💫️💫️💫️💫️ Find recursive keypad movement sequences (^\u003ev\u003cA) to enter a door code.\n22. 💫️💫️💫️🌑️🌑️ Calculate banana prices according to bitwise monkey rules.\n23. 💫️💫️💫️🌑️🌑️ Find the largest connected group of nodes in a graph.\n24. 💫️💫️💫️💫️💫️ Gate / wire simulation, find out which 4 pairs of wire have been swapped.\n25. 💫️🌑️🌑️🌑️🌑️ Find matching keys and locks to finally save Christmas.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjraams%2Faoc-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjraams%2Faoc-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjraams%2Faoc-2024/lists"}