From 9578de486aa49d4f89548155ab462732e42267cd Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 19 Mar 2020 09:52:04 +0100 Subject: dirty game logic --- include/game.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/game.hpp') diff --git a/include/game.hpp b/include/game.hpp index 488f74b..550b47a 100644 --- a/include/game.hpp +++ b/include/game.hpp @@ -2,6 +2,8 @@ # define GAME_HPP #include +#include +#include #include "2048.hpp" class Game @@ -18,6 +20,10 @@ class Game private: int size; int **grid; + void mergeRow(std::vector &row); + int **gridCopy(); + bool gridEqual(int **other); + void gridDestroy(int **g); }; #endif -- cgit