ISourceCode

Make the frequent cases fast and the rare case correct

Knight’s tour – a simple solution from Border chess

Below Image shows a easy to memorise solution for the Knights tour devised by Dan Thomasson [DTHOMASSON@carolina.rr.com]

Start at any corner and continuously rotate in the same direction around the board moving on the outermost squares.

For implementation of Warnsdorff algorithm to solve Knight’s tour check the article here

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: