-🎄- 2022 Day 22 Solutions -🎄-

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. aoc2022

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. advent-of-code

    Advent of Code (by morgoth1145)

    Python 3 21/12

  4. Advent-of-Code-2022

    Discontinued Python3 solutions for Advent of Code 2022 [GET https://api.github.com/repos/Verulean/Advent-of-Code-2022: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by Verulean)

    Python 3.11 156/6

  5. advent_of_code_2022

    rust What an ugly chain of if else if else if else... But it did the job. And I'm even < 1000th \o/ Also: mandatory paper cube.

  6. AdventOfCode

    Hacky solutions for https://adventofcode.com (by AllanTaylor314)

    Python+Paper [1740/765]

  7. adventofcode

  8. AdventOfCode-Java

    adventOfCode(Language.JAVA);

  9. AdventOfCode

    C# [1203/884]

  10. adventofcode2022

    Code: https://github.com/mmdoogie/adventofcode2022/tree/master/22

  11. aoc_kotlin

    Advent of code solutions in Kotlin

    code

  12. AdventOfCode2022

    Advent of Code 2022 (by gralamin)

    Rust day 1, part 1 in pretty explicit rust

  13. advent_of_code

    perl5 [code] [cube action shot] [stream]

  14. aoc-factor

    Advent of Code solutions in Factor

    Factor, cube

  15. AOC2022

    Links GitHub Source Arts and Crafts A Arts and Crafts B

  16. aoc2022

    my solutions for Advent of Code 2022 (by GassaFM)

    Part 1 is similar in setting to day 9 and day 12, walking along a board with some rules. Snatched the constants for directions from there:

  17. adventofcode

    ES6 solutions to Advent of Code puzzles. (by surgi1)

    JavaScript, both parts (just for my map shape .o)

  18. advent-of-code

    Polyglot Advent of Code solution collection (by rsaarelm)

    Rust

  19. aoc

    Advent of Code (by ramuuns)

  20. aoc2022

    Part 1 was not a problem, I stored all the map positions in a dictionary and gave them a value of True or False based on if you can move there. I also stored the starting and ending columns and rows for each row and column respectively, so I can just know which position to jump to when I need to wrap around. Part 2 was frustrating. I spent way too much time than necessary because I kept missing some mappings for the whole cube. Right now I have 13 total mappings which worked for my input. I think my solution should work for any arbitrary cube sides, I tried not to assume a lot. Fun problem overall. Made me think. A lot :p

  21. advent-of-code-2022

    advent-of-code-2022 (by robosa)

    Here's my ugly solution that only works on my input (I just enumerated all possible warps and handled them manually). And I made a cube!

  22. advent_of_code

    Even though I had the visual aid I needed to go over the entire thing like 4 times and double check all the wraps that actually occur to make sure it's actually correct. Not difficult, just really tiring and tedious. Anyway, because it was asked for, here are the sketches I made while figuring it out.

  23. aoc

    Advent of Code Solutions - https://adventofcode.com/ (by mattbillenstein)

  24. aoc

    Advent of Code (by taifu)

    The worst python code I ever wrote

  25. aoc2022

    Advent of Code 2022 - if I have time lol (by jabis)

    Javascript / NodeJS Here's the diff

  26. adventofcode

    :christmas_tree: Advent of Code (2015-2025) in C# (by encse)

  27. AdventOfCodeCSharp

    My AoC Solutions

  28. adventofcode2022

    I had thought that it would only work with my particular cube layout. But scanning the posts, it seems a lot of others (everyone?!) had the same layout. Obligatory cube.

  29. aoc2022

    Advent of Code, this time in Deno (by danvk)

  30. advent-of-code

    Code I used for solving https://adventofcode.com/ challenges (by pavel1269)

  31. aoc2022

  32. aoc

    For advent of code 2022 (by harsh-98)

  33. adventofcode

  34. aoc2022

    Advent of Code 2022 (by alprog)

  35. AdventOfCode2022

    hacking advent of code 2022 in Rust (by weichslgartner)

    Python Wrote a lot of tests to get the hardcoded cube wrapping right. Had in the end a bug that i did a direction change if the wall was on the other side on the cube.

  36. adventofcode2022

    My Rusty 🦀 solutions to Advent of Code 2022 🎄 (by kelleyvanevert)

    Rust solution

  37. advent-of-code

    Solutions to the Advent of Code (by david3x3x3)

    My solution in Python.

  38. a2tools

    Stuff I write for my Apple //c

    I only did part 1 tonight, somebody's literarlly doing Redditor wife at the office door.

  39. advent-2022-clojure

    Advent of Code 2022 (Clojure)

    Clojure.

  40. AdventOfCode2022

    GitHub (trust me, you dont wanna see my cube, my fingers were made for typing not for crafting lol)

  41. aoc2022

    Advent of Code 2022 - my answers

  42. aoc-2022

    Rust

  43. AdventOfCode2022

    My solutions for Advent of Code 2022 (by blubber-rubber)

    Part 2

  44. adventofcode2022

    Discontinued [GET https://api.github.com/repos/pkusensei/adventofcode2022: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by pkusensei)

    C#

  45. adventofcode

    Sample solutions to Advent of Code (by kenthklui)

    Golang 1451/1498 Code Cube

  46. advent-of-code

    Solutions to the annual Advent of Code challenges (by pcjun97)

    Go

  47. aoc-2022

    Repository for solutions to Advent of Code 2022 (by HoshigaIkaro)

  48. advent-of-code-2022

    actually publishing my solutions now that they're not redundant...

  49. advent-of-code-2022

    Solutions to Advent of Code 2022 | https://adventofcode.com/ (by mfornet)

    Rust

  50. advent-of-code

  51. AdventOfCode

  52. advent-of-code

    Advent of code 2019 repo (by rnbwdsh)

    I refactored it to learn and understand it. It's quite a bit shorter.

  53. AoC

    my personal repo for the advent of code yearly challenge (by Fadi88)

  54. Advent2022

    Discontinued Advent Of Code 2022 (by markearnest)

    Java I'm not proud of this at all, consider it a example of how not to do it, but as much time as I put into debugging it, I'm damn well gonna post it :) https://github.com/markearnest/Advent2022/blob/main/src/org/mystikos/aoc2022/day22/Advent22.java

  55. advent-2022

    Rust. I did hardcode how edges fold in part 2. I made a visualisation tool, which helped me check the folds were at the right spot, ran the code and it worked first try! Compared to the other days, I didn’t focused on speed, but it still runs in less than 1ms. Edit: GitHub https://github.com/baptistemanson/advent-2022/blob/master/src/day22.rs

  56. AdventOfCode2022

    Rust project for advent of code 2022: https://adventofcode.com/2022 (by Convez)

  57. AdventOfCode2022

    Final stand

  58. advent-of-code-2022-rust

  59. adventofcode

    Solutions for problems from AdventOfCode.com (by bhosale-ajay)

    TypeScript - Part 1 used a approach with group of horizontal and vertical lines, Part 2 was intense.

  60. AdventOfCode

    Kotlin I need to clean this up but it is a generalized solution that can build a cube given any (valid) input and then run instructions. Was a fun challenge to figure out how to "fold" the flat sides around a cube without actually looking up any algorithms for how to do so...

  61. Advent_of_Code

    A repo revolving around attempting to solve the Advent of Code puzzles with single-statement t-sql (by adimcohen)

    https://github.com/adimcohen/Advant_of_Code_2022_Single_Statement_SQL/blob/main/Day_22/Day_22_Part1.sql https://github.com/adimcohen/Advant_of_Code_2022_Single_Statement_SQL/blob/main/Day_22/Day_22_Part2.sql

  62. aoc

    Discontinued Advent of Code solutions (by sjmulder)

    - C -

  63. advent-of-code-go

    All 11 years of adventofcode.com solutions in Go/Golang (and a little Python); 2015-2025

  64. AdventOfCode2022

  65. adventofcode

    Advent of code solutions (by mathsaey)

  66. advent-of-code-2022

    back to rust, except i'll use libs where it makes sense (by jchevertonwynne)

  67. advent-of-code

    Visual aid: https://github.com/nordfjord/advent-of-code/blob/master/2022/22/Cube.jpg

  68. adventofcode

    Java

  69. advent-of-code

    My Advent of Code attempts. (by jarekwg)

    Generic solution that doesn't depend on cube map layout. Parts 1 and 2 here: https://github.com/jarekwg/advent-of-code/blob/main/2022/AOC22.py

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Advent of Code 2024

    24 projects | news.ycombinator.com | 1 Dec 2024
  • -🎄- 2022 Day 18 Solutions -🎄-

    74 projects | /r/adventofcode | 17 Dec 2022
  • -🎄- 2022 Day 5 Solutions -🎄-

    263 projects | /r/adventofcode | 4 Dec 2022
  • Show HN: SFX – A language where 0.1 and 0.2 = 0.3 and Context is first-class

    3 projects | news.ycombinator.com | 6 Dec 2025
  • Advent of Code 2025 is Here!

    2 projects | dev.to | 1 Dec 2025

Did you know that Rust is
the 3rd most popular programming language
based on number of references?