Nice game the puzzle are nice!, I don't know if I am right but i get the feeling that there's not always a valid path to the end
Viewing post in Don't Step Wrong jam comments
Thanks for the comment and for trying the game.
All levels have at least one valid path. The path is randomly created during level loading, and then another script populates blocks with valid values for that path and invalid values for the others (or valid with a small chance for the others, meaning there may even be multiple valid paths).
If the path-generating script can't create a valid path, it falls back to a manually defined and simple path to avoid breaking the level.