summaryrefslogtreecommitdiff
path: root/noncore/games/kcheckers/rcheckers.h
Unidiff
Diffstat (limited to 'noncore/games/kcheckers/rcheckers.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kcheckers/rcheckers.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/games/kcheckers/rcheckers.h b/noncore/games/kcheckers/rcheckers.h
new file mode 100644
index 0000000..d44bfd1
--- a/dev/null
+++ b/noncore/games/kcheckers/rcheckers.h
@@ -0,0 +1,28 @@
1
2#ifndef RCHECKERS_H
3#define RCHECKERS_H
4
5#include <checkers.h>
6
7
8class RCheckers:public Checkers
9{
10 public:
11 RCheckers(int skill):Checkers(skill){};
12 bool go1(int,int);
13
14 bool checkCapture1();
15 bool checkCapture2();
16
17 private:
18 void kingMove2(int,int &);
19
20 bool manCapture1(int,int,bool &);
21 bool kingCapture1(int,int,bool &);
22
23 bool manCapture2(int,int &);
24 bool kingCapture2(int,int,int &);
25
26};
27
28#endif