cmpsc330hw4/strategic_player.h

27 lines
466 B
C
Raw Normal View History

2024-11-19 23:54:26 +00:00
//
// Created by sapan on 18-11-2024.
//
#ifndef HW4_STRATEGIC_PLAYER_H
#define HW4_STRATEGIC_PLAYER_H
#include "board.h"
#include "player.h"
class StrategicPlayer: public Player {
private:
char name;
public:
StrategicPlayer(char name): Player(name) {
this->name = name;
}
void selectLineLocation(Board& board, int& row, int& col);
char getName() const override {
return this->name;
}
};
#endif //HW4_STRATEGIC_PLAYER_H