#include #include #include "Movement.h" #include "Display.h" using namespace std; class Game2048 { public: Game2048(int gameSize, int& highScore); // remove the pass by reference in high score void playGame(); void Draw() {display.showGame(*board, score, highScore);} void Shift(char input); void testInit(){*board = { {4,0,0,2}, {4,2,0,0}, {4,4,0,0}, {4,4,0,0}};} bool addNumber(); int getScore() {return score;} private: int highScore; int gameSize; int score; Movement movement; Display display; vector>* board = nullptr; };