hello joe and thanks for the suggestion.
for me it looks like this... (without lines)
excerpt from cmd-window:
...
nx/ny: 7
nx/ny: 7
nx/ny: 8
nx/ny: 8
--- total: 64 current: 9
- ky: 7
- kx: 8
Runtime Exception: Index Error (list index 8 out of range)
Process Exit Code: -1
Time Taken: 00:01
...
not like yours:
Runtime Error: Index Error (list index 9 out of range) [line 43]
the "knight's tour" is a test-script which i have already done (in this way) in several other languages. in none of them i would have to check the kx/ky values explicitly. that's why i find it difficult to explain why this would be necessary in ms.
is it because of the loops? would it be necessary to abort them (in ms) in time (forcibly)?
ok... we are in any case one step further... thank you. there are obviously still other cracknut waiting... (as you surely have already seen).
startfield: kx: 1 ky: 1
[0, 0, 0, 0, 0, 0, 0, 0]
[0, 1, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 2]
[4, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 5, 0, 0, 0]
[0, 0, 0, 7, 0, 0, 0, 0]
[0, 0, 3, 0, 8, 0, 10, 64]
:-O
but that's good - it's better than sudoku in any case! :-D
ps
yes.. the creation of a topic: 2darray would be good. how to dislocate the 2d specific contributions into the new category?
pps
a knight's tour category would also make sense... wouldn't it?
by which I mean to say: I would rather leave the forum structure to you ;-)