summaryrefslogtreecommitdiff
path: root/noncore/games/kcheckers/echeckers.h
blob: c3f70752669f0f1e00472ee8b4f2110cb7d83904 (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