Clever game and well implemented. It took me a few tries to get what was going on, but once it clicked it felt like a good design. New "tricks" were introduced well, with the levels gradually requiring thinking up new approaches and handling newly introduced patterns and challenges. I figured out you could backtrack fairly quickly, but it could have used a visual indication of the path when you're doing it. I also agree with other comments that getting a hint to the pattern before your first move would be good as it would limit the need to waste a throwaway run. Maybe show them at very high speed, or just hint the first 1-2 moves.