6 class Silver : public Agent
9 Silver(const std::string & colour, int max_depth=2;);
10 Silver(const std::string & colour, const std::map<Piece::Type, double> & new_values, int max_depth=2;);
13 virtual Square & Select();
14 virtual Square & Move();
16 std::map<Piece::Type, double> values;
25 Move(Piece * new_p, Square & new_s, double new_score) : p(new_p), s(new_s), score(new_score) {}
27 Move(const Move & cpy) : p(cpy.p), s(cpy.s), score(cpy.score) {}
33 bool operator>(const Move & m) const {return score > m.score;}
34 bool operator<(const Move & m) const {return score < m.score;}
38 #endif //_SILVERFISH_H