From 64f6f1eaa2ecc188292cfe4a7223606b8bcb3bf2 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 20 Mar 2020 10:29:56 +0100 Subject: refactoring to more cplusplusy version of classes --- include/expectimax.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/expectimax.hpp (limited to 'include/expectimax.hpp') diff --git a/include/expectimax.hpp b/include/expectimax.hpp new file mode 100644 index 0000000..a3163e1 --- /dev/null +++ b/include/expectimax.hpp @@ -0,0 +1,17 @@ +#ifndef EXPECTIMAX_HPP +# define EXPECTIMAX_HPP + +#include "2048.hpp" +#include "game.hpp" + +class Expectimax +{ + public: + Expectimax(Game *g); + Direction move(); + + private: + Game *game; +}; + +#endif -- cgit