billr@tekred.TEK.COM (Bill Randle) (02/20/88)
I received an updated source file from the author the day after I
posted the original. Here is the diff (a simple one line addition).
-Bill Randle
Moderator, comp.sources.games
Tektronix, Inc.
games-request@tekred.TEK.COM
------------------------------------------------------
*** knight.c.orig Thu Feb 18 17:39:59 1988
--- knight.c Fri Feb 19 08:22:15 1988
***************
*** 133,138 ****
--- 133,139 ----
if (row == 'R') {
rw = lrand48() % 8;
col = lrand48() % 8;
+ j = 8* rw + col;
row = rw + 'A';
column = col + '1';
}