AdventOfCode/2019/day21-p1.springscript

10 lines
191 B
Plaintext
Raw Normal View History

2019-12-22 01:00:00 +01:00
# In any case, jump only if 4th tile is ground as it's where we land.
2019-12-21 22:04:47 +01:00
OR D J
2019-12-22 01:00:00 +01:00
# If 3rd is a hole, jump.
2019-12-21 22:04:47 +01:00
NOT C T
AND T J
2019-12-22 01:00:00 +01:00
# If the next tile is a hole, you must jump anyway.
2019-12-21 22:04:47 +01:00
NOT A T
OR T J
WALK