1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef HUMAN_NIM_PLAYER_HPP
#define HUMAN_NIM_PLAYER_HPP
#include "NimPlayer.hpp"
class HumanNimPlayer
: public NimPlayer
{
public:
HumanNimPlayer();
const std::string&
get_name() const;
NimMove
get_move(const NimGame& game) const;
private:
std::string name;
};
#endif // HUMAN_NIM_PLAYER_HPP
|