checknsteps

Usage

checknsteps <start-coord> <end-coord> <step-count>

Return value

Boolean true or false: Whether there is a path from <start-coord> to <end-coord> by making exactly <step-count> steps along adjacent squares.

Example

See also

checkmaxsteps

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.