mkdir knight cd knight
cp ~/181/lab9/kt.cc . cp ~/181/lab9/makefile .
make kt kt 3 3 kt 3 4Remark: Do not call kt with arguments larger than 5! It will engage in a huge search and use too much cpu time. If you want to try kt on a full size chessboard, compile and run it on a pc.
kt 3 3 kt 3 4
int result = kt( B ); B.display();should have the effect of displaying B in a state corresponding to the result. (As it stands, the board is sometimes set to a winning board and sometimes not.) This will not involve much programming, but requires you to think thru the issue.