image thumbnail

Swap horses

version 1.0.0.0 (7.11 KB) by Ravi Lakkundi
Swap the two horse rows in quickest time.

1.4K Downloads

Updated 14 Jun 2004

View License

Two cols of red and black horses are placed on left and right,.chose a horse and its position from th right window and swap it, the horses move according to the chess play...well find the minimum plays to swap two rows !

Cite As

Ravi Lakkundi (2021). Swap horses (https://www.mathworks.com/matlabcentral/fileexchange/5041-swap-horses), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!