19 lines
311 B
C++
19 lines
311 B
C++
#ifndef HW4_RANDOM_PLAYER_H
|
|
#define HW4_RANDOM_PLAYER_H
|
|
|
|
#include "board.h"
|
|
#include "player.h"
|
|
|
|
class RandomPlayer : public Player {
|
|
char name;
|
|
|
|
public:
|
|
RandomPlayer(char name);
|
|
|
|
void selectLineLocation(Board &board, int &row, int &col);
|
|
|
|
char getName() const;
|
|
};
|
|
|
|
#endif //HW4_RANDOM_PLAYER_H
|