5
votes
Day 17: Pyroclastic Flow
Today's problem description: https://adventofcode.com/2022/day/17
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace python
with any of the "short names" listed in this page of supported languages):
<details>
<summary>Part 1</summary>
```python
Your code here.
```
</details>
Finished off part 2, after some struggle.
Data
Each shape is a set of brick offsets from their top left corner. Need to know how tall and wide they are too.Part 1
Super simple, just call tetris with the year!Part 2
For part 2, increase the number of dropped shapes and pass #t to catch cycles. DONE!
Aaah, but you want to see
tetris
too? Shield your poor eyes and brains, it gets ugly real quick.Tetris, since you insist