From cae4150779c587edcc40b75f04624ab3971bbed6 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 18 Mar 2020 21:36:21 +0100 Subject: random spawn --- 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 a644799..488f74b 100644 --- a/include/game.hpp +++ b/include/game.hpp @@ -1,6 +1,9 @@ #ifndef GAME_HPP # define GAME_HPP +#include +#include "2048.hpp" + class Game { public: @@ -8,6 +11,9 @@ class Game ~Game(); int getSize(); int at(int x, int y); + void move(Direction direction); + void spawn(); + bool lost(); private: int size; -- cgit