{"id":42582956,"url":"https://github.com/andilau/advent-of-code-2016","last_synced_at":"2026-01-28T22:31:19.354Z","repository":{"id":63551393,"uuid":"544512578","full_name":"andilau/advent-of-code-2016","owner":"andilau","description":"🎄 Advent of Code 2016: Solutions in Kotlin","archived":false,"fork":false,"pushed_at":"2025-11-24T19:38:53.000Z","size":612,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T07:40:13.948Z","etag":null,"topics":["2016","advent-of-code","aoc","aoc2016","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andilau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-02T17:06:01.000Z","updated_at":"2025-11-24T19:38:26.000Z","dependencies_parsed_at":"2025-11-27T21:02:21.452Z","dependency_job_id":null,"html_url":"https://github.com/andilau/advent-of-code-2016","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"andilau/advent-of-code-starter","purl":"pkg:github/andilau/advent-of-code-2016","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andilau%2Fadvent-of-code-2016","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andilau%2Fadvent-of-code-2016/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andilau%2Fadvent-of-code-2016/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andilau%2Fadvent-of-code-2016/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andilau","download_url":"https://codeload.github.com/andilau/advent-of-code-2016/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andilau%2Fadvent-of-code-2016/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28853526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["2016","advent-of-code","aoc","aoc2016","kotlin"],"created_at":"2026-01-28T22:31:17.988Z","updated_at":"2026-01-28T22:31:19.347Z","avatar_url":"https://github.com/andilau.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2016\n\nThis project contains my solutions for the [Advent of Code 2016](https://adventofcode.com/2016)\nin [Kotlin](https://kotlinlang.org/). Advent of Code is an Advent calendar of small programming puzzles\nby [Eric Wastl](http://was.tl/).\n\n## Solutions\n\n- Day 1: 🚕 [No Time for a Taxicab](https://adventofcode.com/2016/day/1) -- [Day1.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day1.kt)\n- Day 2: 🚾 [Bathroom Security](https://adventofcode.com/2016/day/2) -- [Day2.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day2.kt)\n- Day 3: 🔺 [Squares With Three Sides](https://adventofcode.com/2016/day/3) -- [Day3.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day3.kt)\n- Day 4: 🏪 [Security Through Obscurity](https://adventofcode.com/2016/day/4) -- [Day4.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day4.kt)\n- Day 5: ♟️ [How About a Nice Game of Chess?](https://adventofcode.com/2016/day/5) -- [Day5.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day5.kt)\n- Day 6: 📣 [Signals and Noise](https://adventofcode.com/2016/day/6) -- [Day6.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day6.kt)\n- Day 7: 💻 [Internet Protocol Version 7](https://adventofcode.com/2016/day/7) -- [Day7.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day7.kt)\n- Day 8: 📟 [Two-Factor Authentication](https://adventofcode.com/2016/day/8) -- [Day8.kt](https://github.com/andilau/advent-of-code-2016/blob/main/src/main/kotlin/days/Day8.kt)\n\n### Features\n\n* Gradle setup so you can run a specific day or all days on the command line (see **Running**)\n* Timings for each part of each day\n* Input for each day automatically exposed in String and List form\n* [JUnit 5](https://junit.org/junit5/) and [AssertJ](https://assertj.github.io/doc/) test libraries included (see **Testing**)\n* Starter .gitignore\n\n### Running\n\nProject is already setup with gradle. To run the app:\n\n* Navigate to top-level directory on the command line\n* Run `./gradlew run` to run all days\n* Run `./gradlew run --args $DAY` where `$DAY` is an integer to run a specific day\n* Run `./gradlew run --args \"$DAY1 $DAY2 $ANOTHERDAY\"` to run a subset of days\n\n### Testing\n\nProject includes JUnit and AssertJ and a stub unit test to get you going. To run all tests:\n\n* Navigate to top-level directory on the command line\n* Run `./gradlew test`\n* Add `--info`, `--debug` or `--stacktrace` flags for more output\n\nBy default, instantiations of `Day` classes in tests will use the input files in `src/test/resources`, _not_ those\nin `src/main/resources`. This hopefully gives you flexibility - you could either just copy the real input\ninto `src/test/resources` if you want to test the actual answers, or you could add a file of test data based on the\nexamples given on the Advent of Code description for the day. The stub `Day1Test` class shows a test of the\nfunctionality of `Day1` where the test input differs from the actual input.\n\n### Architecture\n\n* Inputs go into `src/main/resources` and follow the naming convention `input_day_X.txt`\n* Solutions go into `src/main/kotlin/days` and implement the `Puzzle` interface\n* Solutions follow the naming convention `DayX`\n* It is assumed all solutions will have two parts\n* It is assumed that the puzzle input is provided through the primary constructor\n* You can use the `InputReader` methods for reading input\n* To get started simply replace `src/main/resources/input_day_1.txt` with the real input and the solutions in `Day1` with your own\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandilau%2Fadvent-of-code-2016","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandilau%2Fadvent-of-code-2016","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandilau%2Fadvent-of-code-2016/lists"}