This program generates puzzles known as Arukone or Number Link. It is just the first stage. You cannot play so far. The results are the chains for a valid puzzle. In the final game you will be given the end points of the chains and you need to reconstruct the paths. Dieses Programm generiert Arukone-Puzzles. Es ist ein erster Schritt. Noch kannst du das Puzzle nicht selbst spielen. Das Ergebnis des Programms sind die Ketten eines gültigen Arukone. Im Spiel würdest du die Endpunkte der Ketten bekommen und deine Aufgabe ist, die Ketten zu finden.
I wrote the original algorithm in Python. Then I translated it to Scratch. Of course it is much slower now, but you may enjoy the animation how the algorithm works.