There's a similar puzzle considered in the thread "How to debug a long while loop", so maybe that would help.
In reply to Re: Find solution to knight's tour
by kyle
in thread Find solution to knight's tour
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |