aboutsummaryrefslogtreecommitdiff
path: root/include/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/game.hpp')
-rw-r--r--include/game.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/game.hpp b/include/game.hpp
new file mode 100644
index 0000000..a644799
--- /dev/null
+++ b/include/game.hpp
@@ -0,0 +1,17 @@
+#ifndef GAME_HPP
+# define GAME_HPP
+
+class Game
+{
+ public:
+ Game(int s);
+ ~Game();
+ int getSize();
+ int at(int x, int y);
+
+ private:
+ int size;
+ int **grid;
+};
+
+#endif