1 //--------------------------------------------------------------------------
2 // Game.cc - Source file for the Game class
4 // Matthew E. Moses && Michael A. Long
7 // $Date: 2002/07/02 00:05:19 $
13 // Revision 1.4 2002/07/02 00:05:19 tridge
14 // got rid of a bunch of RCS tags now that its in CVS
16 // Revision 1.3 1998/09/10 19:57:17 mlong
17 // lots of little bug fixes and a few new features
19 // Revision 1.2 1998/04/29 15:23:19 mlong
20 // prepairing for the move to daimi
21 // new sorting routine.
23 // Revision 1.1 1997/07/18 15:42:13 chess
27 //--------------------------------------------------------------------------
31 //- Constructor -----------------------------------------------------------
32 Game::Game(char *wn, char *bn, int t, int i, int r, char v) {
33 strcpy(whiteName, wn);
34 strcpy(blackName, bn);
43 //- DeConstructor ---------------------------------------------------------
47 //- IsGame -----------------------------------------------------------------
48 int Game::IsGame(char *whiteUser, char *blackUser, int t, int i, int r, char v) {
50 (0 == strcasecmp(whiteUser, whiteName)) &&
51 (0 == strcasecmp(blackUser, blackName)) &&