cmpsc330hw4/gameplay.h
Sandipsinh Rathod 4d69307f8c cleanup
2024-11-19 20:04:51 -05:00

22 lines
430 B
C++

#ifndef HW4_GAMEPLAY_H
#define HW4_GAMEPLAY_H
#include "board.h"
#include "strategic_player.h"
class Gameplay {
Board board;
Player* player1; // Use pointers to enable polymorphism
Player* player2;
void determineWinner();
public:
Gameplay(int rows, int cols, Player* player1, Player* player2);
~Gameplay(); // Destructor to clean up allocated memory
void playGame();
};
#endif // HW4_GAMEPLAY_H