1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef NIM_PLAYER_HPP
#define NIM_PLAYER_HPP
#include <string>
#include "NimGame.hpp"
class NimPlayer
{
public:
virtual
const std::string&
get_name() const = 0;
virtual
NimMove
get_move(const NimGame& game) const = 0;
};
#endif
|