Expand description
§Mine Cart Madness
Simulates the mine carts for both parts. When checking the grid we only care about \
, /
and +
characters, all other characters can be ignored. Carts are sorted by y
and then by
x
before each tick as the movement order is important to resolve collisions or near misses
correctly.