5247cdb6d28e21df649a89b412443ac915523888
[capablanca.git] / lasker-2.2.3 / bots / mamer / Game.hh
1 //--------------------------------------------------------------------------
2 // Game.hh - Class header for the Game class
3 //
4 // Matthew E. Moses & Michael A. Long
5 //
6 // $Revision: 1.5 $
7 // $Date: 2002/07/02 00:05:19 $
8 //
9 // $Log: Game.hh,v $
10 // Revision 1.5  2002/07/02 00:05:19  tridge
11 // got rid of a bunch of RCS tags now that its in CVS
12 //
13 // Revision 1.4  2002/07/02 00:02:40  tridge
14 // - fixed compile on g++ 2.96
15 // - updated for lasker 'rmatch'
16 //
17 // Revision 1.3  1998/09/10 19:58:41  mlong
18 // lots of little bug fixes and a few new features.
19 //
20 // Revision 1.2  1998/04/29 15:24:07  mlong
21 // prepairing for the move to daimi
22 // new sorting routine.
23 //
24 // Revision 1.1  1997/07/18 15:42:58  chess
25 // Initial revision
26 //
27 //
28 //--------------------------------------------------------------------------
29
30 #ifndef _Game_
31 #define _Game_
32
33 #include <fstream.h>
34 #include <iostream.h>
35
36 extern "C" {
37 #include <sys/param.h>
38 #include <sys/types.h>
39
40 #include <ctype.h>
41 #include <errno.h>
42 #include <stdlib.h>
43 #include <string.h>
44 #include <strings.h>
45 #include <sys/stat.h>
46
47 #include <time.h>
48 #include <unistd.h>
49 }
50
51 #include "config.h"
52 #include "User.hh"
53 #include "link.hh"
54 #include "linklist.hh"
55
56 class Game : public Link {
57 public:
58
59   Game(char *, char *, int, int, int, char);
60   ~Game();
61   
62 int IsGame(char *, char *, int, int, int, char);
63
64 private:
65
66 public:
67
68   char whiteName[NAMELEN];
69   char blackName[NAMELEN];
70   int rated;
71   int time;
72   int inc;
73   char variation;
74   int gameNumber;
75
76 private:
77
78 };
79
80
81 #endif
82
83
84
85
86
87