Knight's tour: Difference between revisions

Line 8,555:
 
define(`random_position',`path_nth($1,randnum(path_length($1)))')
 
dnl For example, a1d3c5 -> c5d3a1
define(`path_reverse',`ifelse($1,`',`',`$0(path_cdr($1))`'path_car($1)')') dnl FIXME: IS THIS NEEDED? FIXME FIXME FIXME
 
dnl Is the position $1 contained in the path $2?
1,448

edits