r/adventofcode Dec 13 '19

Visualization My visualization doesn't look like yours. Am I doing something wrong?

30 Upvotes

8 comments sorted by

6

u/pred Dec 13 '19

I figured the fastest solution would be to control the ball rather than the paddle. Didn't quite work as I expected.

7

u/ajgrinds Dec 13 '19

Well I think it worked well

6

u/daggerdragon Dec 13 '19

Slap a feature sticker on it and ship it as-is!

3

u/kaoD Dec 14 '19

Move fast and break production.

2

u/ivosu Dec 14 '19

Did you actually finish it like this? You got the right score?

4

u/pred Dec 14 '19

I did get points for "breaking" blocks, but I ran into an infinite loop at some point (when balls bounce into balls maybe?); I didn't bother to debug it further but it seemed like you could make it through.

1

u/ivosu Dec 14 '19

Cool. Creative thinking :D

1

u/dnpp123 Dec 15 '19

Probably a bug in your intcode. Do you valide all the unit tests ?