* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)tutor.c 5.1 (Berkeley) %G%";
extern struct situatn test
[];
static char better
[] = "That is a legal move, but there is a better one.\n";
if (! brdeq(test
[i
].brd
,board
)) {
if ((! tflag
) || curr
== 19) {
curmove (curr
> 19? curr
-2: curr
+4,25);
for (j
= 0; j
< 4; j
++) {
if (test
[i
].mp
[j
] == test
[i
].mg
[j
])
for (j
= 0; j
< mvlim
; j
++)
for (j
= r
+1; j
< 24; j
++) {