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