AoC-2022

MiniScript code for the Advent of Code 2022 challenges (by JoeStrout)

AoC-2022 Alternatives

Similar projects and alternatives to AoC-2022

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better AoC-2022 alternative or higher similarity.

AoC-2022 reviews and mentions

Posts with mentions or reviews of AoC-2022. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-25.
  • Advent of Code (in MiniScript), Day 25
    2 projects | dev.to | 25 Dec 2022
    The challenge did inspire some ideas for new libraries and library functions. Over the course of the month, I created an aoc module with a variety of general utility functions that may make their way into the standard Mini Micro library; as well as a search module, which will probably end up as its own repo.
  • Advent of Code Day 18 Follow-Up
    1 project | dev.to | 18 Dec 2022
    I've now created such a library, and redid last night's challenge using it.
  • Advent of Code (in MiniScript), Day 16
    2 projects | dev.to | 16 Dec 2022
    I'm using the list.combinations method (in my AoC module) to find all the different ways we can form setA (my valves) by taking n of the goodValves. Then, we find setB (the elephant's set) by simply removing each of mine from a copy of the full set.
  • Advent of Code (in MiniScript), Day 9
    2 projects | dev.to | 9 Dec 2022
    Oh, but I promised some pretty graphics, didn't I? Since I'm doing all this in Mini Micro, those are easy to add (you can see the code here). The GIF at the top of this post shows the movement of the rope for the Part B example. And here's the start of its motion for my real input file... though the full input makes it wander much longer, and much further from the origin. Enjoy!
  • Advent of Code (in MiniScript), Day 8
    3 projects | dev.to | 8 Dec 2022
    Once again, my starter program did me no good; nor did I need any of the stuff I've been gathering in my custom aoc module, or even the standard /sys/lib modules. The solution was plain, unadorned MiniScript. ❤️
  • Advent of Code (in MiniScript), Day 6
    1 project | dev.to | 6 Dec 2022
    By this point I have a starter program which reads an input file line by line, has a place to calculate a result for each line, and then does some kind of summary of the results. I didn't need all that for this program, so I cut some stuff out, and (under time pressure) ignored other bits. But with a little more cleaning up, my solution boils down to this:
  • Advent of Code (in MiniScript), Day 5
    2 projects | dev.to | 5 Dec 2022
    Given the libraries I had, I don't see how. However, I may add some new tricks to my aoc module. Maybe I should have a "select" method that grabs a subset of a sequence (string or list) given a list of indexes. I could use this on each line to convert the raw input, like [Z] [M] [P], into just the letters, like ZMP (by doing line = line.select(range(1, line.len, 4))). Then I'd have a list of strings like:
  • Advent of Code (in MiniScript), Day 4
    2 projects | dev.to | 4 Dec 2022
    If you want to join me, please do! I'm posting all the code on GitHub, including my little lib/aoc module. I encourage you to join us on Discord too, where we can strategize and commiserate. See you there!
  • A note from our sponsor - WorkOS
    workos.com | 23 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic AoC-2022 repo stats
8
0
10.0
over 1 year ago

JoeStrout/AoC-2022 is an open source project licensed under The Unlicense which is not an OSI approved license.

The primary programming language of AoC-2022 is MAXScript.


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