/*
* sr -- A sample robot for Netris
- * Copyright (C) 1994,1995 Mark Weaver <Mark_Weaver@brown.edu>
+ * Copyright (C) 1994,1995,1996 Mark H. Weaver <mhw@netris.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: sr.c,v 1.9 1995/07/11 08:53:30 mhw Exp $
+ * $Id: sr.c,v 1.10 1996/02/09 08:22:20 mhw Exp $
*/
#include <stdio.h>
}
if (pieceState == 1) { /* Decided */
if (memcmp(piece, pieceDest, sizeof(piece))) {
- WriteLine("Rotate %d\n", pieceCount);
+ WriteLine("RotRight %d\n", pieceCount);
pieceState = 2;
}
else if (pieceLeft != leftDest) {
return 0;
}
+/*
+ * vi: ts=4 ai
+ * vim: noai si
+ */