| 70 | | abstractBoard(int bs = 19) throw(BoardError); |
|---|
| 71 | | abstractBoard(const abstractBoard& ab); |
|---|
| 72 | | ~abstractBoard(); |
|---|
| 73 | | abstractBoard& operator=(const abstractBoard& ab); |
|---|
| 74 | | void clear(); |
|---|
| 75 | | int play(int x, int y, char* color) throw(BoardError); |
|---|
| 76 | | void undo(int n=1); |
|---|
| 77 | | void remove(int x, int y); |
|---|
| 78 | | char getStatus(int x, int y); |
|---|
| 79 | | void setStatus(int x, int y, char val); |
|---|
| 80 | | int len_cap_last() throw(BoardError); |
|---|
| 81 | | void undostack_append_pass(); |
|---|
| 82 | | // abstractBoard& copy(const abstractBoard& ab); |
|---|
| | 70 | abstractBoard(int bs = 19) throw(BoardError); |
|---|
| | 71 | abstractBoard(const abstractBoard& ab); |
|---|
| | 72 | ~abstractBoard(); |
|---|
| | 73 | abstractBoard& operator=(const abstractBoard& ab); |
|---|
| | 74 | void clear(); |
|---|
| | 75 | int play(int x, int y, char* color) throw(BoardError); |
|---|
| | 76 | void undo(int n=1); |
|---|
| | 77 | void remove(int x, int y); |
|---|
| | 78 | char getStatus(int x, int y); |
|---|
| | 79 | void setStatus(int x, int y, char val); |
|---|
| | 80 | int len_cap_last() throw(BoardError); |
|---|
| | 81 | void undostack_append_pass(); |
|---|
| | 82 | // abstractBoard& copy(const abstractBoard& ab); |
|---|
| 84 | | private: |
|---|
| 85 | | int* neighbors(int x, int y); |
|---|
| 86 | | vector<pair<char,char> >* legal(int x, int y, char color); |
|---|
| 87 | | vector<pair<char,char> >* hasNoLibExcP(int x1, int y1, int exc=-1); |
|---|
| 88 | | char invert(char); |
|---|
| | 84 | private: |
|---|
| | 85 | int* neighbors(int x, int y); |
|---|
| | 86 | vector<pair<char,char> >* legal(int x, int y, char color); |
|---|
| | 87 | vector<pair<char,char> >* hasNoLibExcP(int x1, int y1, int exc=-1); |
|---|
| | 88 | char invert(char); |
|---|