r/adventofcode • • Dec 17 '20

SOLUTION MEGATHREAD -🎄- 2020 Day 17 Solutions -🎄-

Advent of Code 2020: Gettin' Crafty With It

  • 5 days remaining until the submission deadline on December 22 at 23:59 EST
  • Full details and rules are in the Submissions Megathread

--- Day 17: Conway Cubes ---


Post your code solution in this megathread.

Reminder: Top-level posts in Solution Megathreads are for code solutions only. If you have questions, please post your own thread and make sure to flair it with Help.


This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:13:16, megathread unlocked!

38 Upvotes

657 comments sorted by

View all comments

Show parent comment

1

u/i_misread_titles Dec 17 '20

SAME :)

part 1 was like "simulate", "countOn", "getNeighbors"

open up part 2... uhh... rename all functions, add 3d at the end. copy, replace 3d with 4d. use new point4d struct.

1

u/i_misread_titles Dec 17 '20

code

I'll work on it, so I linked to the original commit.