Functions§
- code 🔒
- Follows the instructions with the keypad centered on the origin, pushing the key reached at the end of each line. Moves that leave the keypad are ignored.
- parse
- part1
- The square keypad is bounded by a square, starting on
5in the middle. - part2
- The diamond keypad is bounded by a diamond, starting on
5at the left.