1 //--------------------------------------------------------------------------
2 // Game.cc - Source file for the Game class
4 // Matthew E. Moses && Michael A. Long
7 // $Date: 1998/09/10 19:57:17 $
13 // Revision 1.3 1998/09/10 19:57:17 mlong
14 // lots of little bug fixes and a few new features
16 // Revision 1.2 1998/04/29 15:23:19 mlong
17 // prepairing for the move to daimi
18 // new sorting routine.
20 // Revision 1.1 1997/07/18 15:42:13 chess
24 //--------------------------------------------------------------------------
26 // static char RCSid[] = "$Id: Game.cc,v 1.3 1998/09/10 19:57:17 mlong Exp $";
30 //- Constructor -----------------------------------------------------------
31 Game::Game(char *wn, char *bn, int t, int i, int r, char v) {
32 strcpy(whiteName, wn);
33 strcpy(blackName, bn);
42 //- DeConstructor ---------------------------------------------------------
46 //- IsGame -----------------------------------------------------------------
47 int Game::IsGame(char *whiteUser, char *blackUser, int t, int i, int r, char v) {
49 (0 == strcasecmp(whiteUser, whiteName)) &&
50 (0 == strcasecmp(blackUser, blackName)) &&