summaryrefslogtreecommitdiff
path: root/noncore/games/kcheckers/rcheckers.h
authorleseb <leseb>2002-03-14 10:31:39 (UTC)
committer leseb <leseb>2002-03-14 10:31:39 (UTC)
commit1003de6f3b0c508960e0e717333a64603fffb133 (patch) (side-by-side diff)
treedbc1c56f0644f0348e35e6e5856ef07110f7fcb7 /noncore/games/kcheckers/rcheckers.h
parent13d8ac43bf8d4c6e492e57d2ab3c7353935a9365 (diff)
downloadopie-1003de6f3b0c508960e0e717333a64603fffb133.zip
opie-1003de6f3b0c508960e0e717333a64603fffb133.tar.gz
opie-1003de6f3b0c508960e0e717333a64603fffb133.tar.bz2
Initial commit
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 @@
+
+#ifndef RCHECKERS_H
+#define RCHECKERS_H
+
+#include <checkers.h>
+
+
+class RCheckers:public Checkers
+{
+ public:
+ RCheckers(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