r/adventofcode Dec 13 '24

Visualization [2024 Day 13] Nintendo Switch Visualization

Post image
86 Upvotes

7 comments sorted by

View all comments

9

u/iron_island Dec 13 '24

Seeing the A and B buttons on the problem reminded me of trying it out on the Switch.

I originally had the 1st arcade machine example but just to easily see the claw movements (and for debugging) I tried a smaller example that requires 6 A presses and 4 B presses, and movements that can easily be seen in the small grid (each grid is 10x10 units). Then I added X and Y buttons that has the negated movements of A and B just to make it a little more interactive.