Day 17 - Two Steps Forward [Revival of Code 2023 - Advent of Code 2016] @0xdf
Day 17 - Two Steps Forward [Revival of Code 2023 - Advent of Code 2016]  @0xdf
Uploaded July 2023 | Updated November 2026, 3 hours ago
Python Discord is doing an event called Revival of Code, where we work through the 2016 Advent of Code, one challenge every two days. The day 17 challenge, Two Steps Forward, involves taking an MD5 hash of the path taken so far with a salt to determine which direction I can move next, trying to find both the shortest and longest path through a maze.

Repo for Advent of Code 2016 Solutions: gitlab.com/0xdf/aoc2016
Intro video for this event: youtube.com/watch?v=qEPpsS0StQI
Configuring VSCode to debug PyTest: youtube.com/watch?v=zL2YTdIj3R8
Real Python post with templates: realpython.com/python-advent-of-code

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[00:16] Challenge part 1
[02:22] genday.sh / input
[02:33] Tests for doors_open
[05:17] doors_open function
[07:03] Debugging typos
[08:28] Part 1 solve tests
[09:53] Solve with BFS
[13:24] Cleaning up template and solving
[13:59] Challenge part 2
[14:17] Refactor part 1
[15:38] Test for part 2
[17:08] Part 2 solve
[18:05] Conclusion

#ctf #adventofcode #revivalofcode #python
Day 17 - Two Steps Forward [Revival of Code 2023 - Advent of Code 2016]Wearhouse Woes [Day 15 - Advent of Code 2024 - Python]Day 25: Snowverload [AOC2023 Python]Day 5: If You Give A Seed A Fertilizer [AOC2023 Python]Finding and Fixing a Bug in Netexec NFSReflective XSS via Link Click / SSRF [Hackvent 2022 - Day 14]Troubleshooting proxychainsElf Connect - JavaScript Game Hacking [Sans Holiday Hack 2024]Day 22: Sand Slabs [AOC2023 Python]Resonant Collinearity [Day 8 - Advent of Code 2024 - Python]Antipattern [0xff: One Last Address]Day 12 - Leonardos Monorail [Revival of Code 2023 - Advent of Code 2016]
0xdf |

Day 17 - Two Steps Forward [Revival of Code 2023 - Advent of Code 2016]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER