📄 board.h
字号:
class Board {
public:
Board();
bool done() const;
void print() const;
void instructions() const;
bool better(int value, int old_value) const;
void play(Move try_it);
int worst_case() const;
int evaluate() const;
int legal_moves(Stack &moves) const;
private:
int squares[3][3];
int moves_done;
int the_winner() const;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -