{"id":15626612,"url":"https://github.com/chaelcodes/advent-of-code-2022","last_synced_at":"2025-03-29T17:25:04.902Z","repository":{"id":64618653,"uuid":"571223762","full_name":"ChaelCodes/advent-of-code-2022","owner":"ChaelCodes","description":"My Advent of Code solutions for 2022!","archived":false,"fork":false,"pushed_at":"2022-12-18T18:25:24.000Z","size":90,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T18:35:38.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/ChaelCodes.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}},"created_at":"2022-11-27T15:06:09.000Z","updated_at":"2022-12-15T01:19:19.000Z","dependencies_parsed_at":"2023-01-29T19:45:49.350Z","dependency_job_id":null,"html_url":"https://github.com/ChaelCodes/advent-of-code-2022","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2Fadvent-of-code-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2Fadvent-of-code-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2Fadvent-of-code-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2Fadvent-of-code-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChaelCodes","download_url":"https://codeload.github.com/ChaelCodes/advent-of-code-2022/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246217379,"owners_count":20742183,"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":[],"created_at":"2024-10-03T10:13:08.943Z","updated_at":"2025-03-29T17:25:04.869Z","avatar_url":"https://github.com/ChaelCodes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# advent-of-code-2022\nMy Advent of Code solutions for 2022! [Advent of Code](https://adventofcode.com/) is a series of 25 puzzles, one released each day leading up to Christmas! I attempt to complete Advent of Code every year, but rarely do. This is a casual completion run, not necessarily for maximum points.\n\n# Leaderboard\n\nOur 2022 leaderboard for Advent of Code is `219042-9f06f774`. Enter the code on the [leaderboard page](https://adventofcode.com/2022/leaderboard/private) to join.\n\n# Solutions\nEach solution goes in a [separate branch](https://github.com/ChaelCodes/advent-of-code-2022/branches/all)/PR, so you can review that day.\n\n- [Day One](https://github.com/ChaelCodes/advent-of-code-2022/pull/2)\n- [Day Two](https://github.com/ChaelCodes/advent-of-code-2022/pull/3)\n- [Day Three](https://github.com/ChaelCodes/advent-of-code-2022/pull/4)\n- [Day Four](https://github.com/ChaelCodes/advent-of-code-2022/pull/5)\n- [Day Five](https://github.com/ChaelCodes/advent-of-code-2022/pull/6)\n- [Day Six](https://github.com/ChaelCodes/advent-of-code-2022/pull/7)\n- [Day Seven](https://github.com/ChaelCodes/advent-of-code-2022/pull/8)\n\n# Previous Years\n\nYou can find previous years here:\n- [2021](https://github.com/ChaelCodes/Advent-of-Code-2021)\n- [2020](https://github.com/ChaelCodes/Advent-of-Code-2020)\n- [2019](https://github.com/ChaelCodes/Advent-of-Code-2019)\n\n# Setup\nFirst, set your ruby version.\n```\nrbenv install\n```\nNext, run the installation script.\n```\nrake install\n```\nRun the test cases to confirm results.\n```\nrake spec\n```\n# Creating a new Solution\nRun `rake new_day[1]` in order to create a new set of solution, input, and spec files.\n\n## Debugging\nPut `binding.irb` anywhere to pry into the method while running the spec. `exit!` will exit the debugging session.\n\n# Advent of Code\nSanta's reindeer typically eat regular reindeer food, but they need a lot of [magical energy](https://adventofcode.com/2018/day/25) to deliver presents on Christmas. For that, their favorite snack is a special type of **star** fruit that only grows deep in the jungle. The Elves have brought you on their annual expedition to the grove where the fruit grows.\n\nTo supply enough magical energy, the expedition needs to retrieve a minimum of **fifty stars** by December 25th. Although the Elves assure you that the grove has plenty of fruit, you decide to grab any fruit you see along the way, just in case.\n\nCollect stars by solving puzzles. Two puzzles will be made available on each day in the Advent calendar; the second puzzle is unlocked when you complete the first. Each puzzle grants **one star**. Good luck!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaelcodes%2Fadvent-of-code-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaelcodes%2Fadvent-of-code-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaelcodes%2Fadvent-of-code-2022/lists"}