blob: 5ca3eccc7cb0a07b7822e112611a66618b4df8fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef ECHECKERS_H
#define ECHECKERS_H
#include <checkers.h>
class ECheckers:public Checkers
{
public:
ECheckers(int skill):Checkers(skill){};
bool go1(int,int);
bool checkCapture1();
bool checkCapture2();
private:
void kingMove2(int,int &);
bool manCapture1(int,int,bool &);
bool kingCapture1(int,int,bool &);
bool manCapture2(int,int &);
bool kingCapture2(int,int,int &);
};
#endif
|