Diffstat (limited to 'noncore/games/kcheckers/echeckers.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kcheckers/echeckers.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/games/kcheckers/echeckers.h b/noncore/games/kcheckers/echeckers.h new file mode 100644 index 0000000..5ca3ecc --- a/dev/null +++ b/noncore/games/kcheckers/echeckers.h @@ -0,0 +1,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 |