This project contains a method called #knight_moves that shows the simplest possible way to get from one square to another by outputting all squares the knight in chess will stop on along the way.
mehmetsamilerturk / knights_travails Goto Github PK
View Code? Open in Web Editor NEWSimplest possible way to get from one squeare to another with a knight in chess