Knight's Challenge in D
Tower Ty
tytower at yahoo.com.au
Thu Apr 3 03:30:16 PDT 2008
Interesting
Your access array is as so
const int[8][8] access=[
[2, 4, 6, 6, 6, 6, 4, 2],
[4, 6, 8, 8, 8, 8, 6, 4],
[6, 6, 8, 8, 8, 8, 6, 6],
[6, 6, 8, 8, 8, 8, 6, 6],
[6, 6, 8, 8, 8, 8, 6, 6],
[6, 6, 8, 8, 8, 8, 6, 6],
[4, 6, 8, 8, 8, 8, 6, 4],
[2, 4, 6, 6, 6, 6, 4, 2]
Just taking the first line which explains the side squares of the board I can only see 3 legal moves on each tile you show 4 , and 4 on each tile you show 6. So what am I not seeing ?
More information about the Digitalmars-d
mailing list