Commit e2b9a33f authored by Brandon Toledo's avatar Brandon Toledo

add a function

parent 8308ba85
......@@ -11,6 +11,9 @@ class Game2048 {
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}};}
private:
int highScore;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment