Commit e2b9a33f authored by Brandon Toledo's avatar Brandon Toledo
Browse files

add a function

parent 8308ba85
...@@ -11,6 +11,9 @@ class Game2048 { ...@@ -11,6 +11,9 @@ class Game2048 {
void playGame(); void playGame();
void Draw() {display.showGame(*board, score, highScore);} void Draw() {display.showGame(*board, score, highScore);}
void Shift(char input); void Shift(char input);
void testInit(){*board = { {4,0,0,2}, {4,2,0,0}, {4,4,0,0}, {4,4,0,0}};}
private: private:
int highScore; int highScore;
......
Supports Markdown
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