{"id":16377750,"url":"https://github.com/lmbishop/advent-of-code-2021","last_synced_at":"2026-07-03T10:03:51.997Z","repository":{"id":111607057,"uuid":"433694590","full_name":"LMBishop/advent-of-code-2021","owner":"LMBishop","description":"My solutions for Advent of Code 2021, written in Kotlin.","archived":false,"fork":false,"pushed_at":"2021-12-13T05:48:54.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T21:33:17.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/LMBishop.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":"2021-12-01T05:25:00.000Z","updated_at":"2021-12-13T05:48:57.000Z","dependencies_parsed_at":"2023-03-19T02:03:28.621Z","dependency_job_id":null,"html_url":"https://github.com/LMBishop/advent-of-code-2021","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LMBishop/advent-of-code-2021","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LMBishop%2Fadvent-of-code-2021","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LMBishop%2Fadvent-of-code-2021/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LMBishop%2Fadvent-of-code-2021/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LMBishop%2Fadvent-of-code-2021/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LMBishop","download_url":"https://codeload.github.com/LMBishop/advent-of-code-2021/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LMBishop%2Fadvent-of-code-2021/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35081255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T03:43:54.300Z","updated_at":"2026-07-03T10:03:51.981Z","avatar_url":"https://github.com/LMBishop.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2021\n\nThese are my solutions written in Kotlin for Advent of Code 2021.\n\nI am using these challenges mainly to learn and get comfortable with Kotlin 😄. I won't push solutions until the day after.\n\n## Solutions\nSince each solution is an entire Gradle submodule, here are quick links to each file:\n| Day                                                                     | Source code                                                                                                                            | Visualisation                                                                                                                                                                  | Input                                                                                                       |\n|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [Day 01](https://adventofcode.com/2021/day/1): Sonar Sweep              | [Day01.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc01/src/main/kotlin/com/leonardobishop/adventofcode/Day01.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc01/src/main/resources/input.txt) |\n| [Day 02](https://adventofcode.com/2021/day/2): Dive!                    | [Day02.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc02/src/main/kotlin/com/leonardobishop/adventofcode/Day02.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc02/src/main/resources/input.txt) |\n| [Day 03](https://adventofcode.com/2021/day/3): Binary Diagnostic        | [Day03.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc03/src/main/kotlin/com/leonardobishop/adventofcode/Day03.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc03/src/main/resources/input.txt) |\n| [Day 04](https://adventofcode.com/2021/day/4): Giant Squid              | [Day04.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc04/src/main/kotlin/com/leonardobishop/adventofcode/Day04.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc04/src/main/resources/input.txt) |\n| [Day 05](https://adventofcode.com/2021/day/5): Hydrothermal Venture     | [Day05.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc05/src/main/kotlin/com/leonardobishop/adventofcode/Day05.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc05/src/main/resources/input.txt) |\n| [Day 06](https://adventofcode.com/2021/day/6): Lanternfish              | [Day06.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc06/src/main/kotlin/com/leonardobishop/adventofcode/Day06.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc06/src/main/resources/input.txt) |\n| [Day 07](https://adventofcode.com/2021/day/7): The Treachery of Whales  | [Day07.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc07/src/main/kotlin/com/leonardobishop/adventofcode/Day07.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc07/src/main/resources/input.txt) |\n| [Day 08](https://adventofcode.com/2021/day/8): Seven Segment Search     | [Day08.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc08/src/main/kotlin/com/leonardobishop/adventofcode/Day08.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc08/src/main/resources/input.txt) |\n| [Day 09](https://adventofcode.com/2021/day/9): Smoke Basin              | [Day09.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc09/src/main/kotlin/com/leonardobishop/adventofcode/Day09.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc09/src/main/resources/input.txt) |\n| [Day 10](https://adventofcode.com/2021/day/10): Syntax Scoring          | [Day10.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc10/src/main/kotlin/com/leonardobishop/adventofcode/Day10.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc10/src/main/resources/input.txt) |\n| [Day 11](https://adventofcode.com/2021/day/11): Dumbo Octopus           | [Day11.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc11/src/main/kotlin/com/leonardobishop/adventofcode/Day11.kt) | [Day11Visualisation.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc11/src/main/kotlin/com/leonardobishop/adventofcode/visualisation/Day11Visualisation.kt) | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc11/src/main/resources/input.txt) |\n| [Day 12](https://adventofcode.com/2021/day/12): Passage Pathing         | [Day12.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc12/src/main/kotlin/com/leonardobishop/adventofcode/Day12.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc12/src/main/resources/input.txt) |\n| [Day 13](https://adventofcode.com/2021/day/12): Transparent Origami     | [Day13.kt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc13/src/main/kotlin/com/leonardobishop/adventofcode/Day13.kt) | -                                                                                                                                                                              | [input.txt](https://github.com/LMBishop/advent-of-code-2021/blob/master/aoc13/src/main/resources/input.txt) |\n\n## Building and testing\nTo clone the repository:\n```\n$ git clone https://github.com/LMBishop/advent-of-code-2021/\n$ cd advent-of-code-2021\n```\n\n### Using the helper script\nThe helper script will build and run the jar for the specified day code.\nThe working directory will be `work/`, the input file will be copied from the day code.\n\n#### Running normal solutions\n```\n$ cd work\n$ ./build.sh \u003cday code (e.g. 01, 02, ..., 25)\u003e\n```\n\n#### Running visualisations\n(Only some solutions have visualisations.)\n```\n$ cd work\n$ ./build.sh \u003cday code (e.g. 01, 02, ..., 25)\u003e v\n```\n\n### Using Gradle directly\n\n#### Running normal solutions\nLinux / macOS:\n```\n$ ./gradlew build\n```\nSpecific submodule:\n```\n$ ./gradlew \u003csubmodule\u003e:build\n```\nWindows:\n```\ngradlew build\n```\n\n#### Running visualisations\nLinux / macOS:\n```\n$ ./gradlew build -Pvisualisation=true\n```\nWindows:\n```\ngradlew build -Pvisualisation=true\n```\n\nAll output jars will be in `build/` of the respective submodules.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmbishop%2Fadvent-of-code-2021","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmbishop%2Fadvent-of-code-2021","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmbishop%2Fadvent-of-code-2021/lists"}