// // Created by pranshav on 11/18/24. // #ifndef POINTS_H_INCLUDED #define POINTS_H_INCLUDED struct point { int x; int y; char player = '\0'; }; class Points { private: point* array = nullptr; int size; int capacity; public: Points(); Points(int rows, int cols); ~Points(); int getSize(); int getCapacity(); void push(point val); void removeVal(point val); void removeIndex(int index); void growArray(); void shrinkArray(); void printArray(); friend class RandomPlayer; friend class StrategicPlayer; }; #endif //POINTS_H