diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-20 10:29:56 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-20 10:29:56 +0100 |
| commit | 64f6f1eaa2ecc188292cfe4a7223606b8bcb3bf2 (patch) | |
| tree | 01717af5c690c66fa3b3a467d98a691de37763f0 /include/expectimax.hpp | |
| parent | 19ae4e74aedbbfde9aaed9241f616decc3ec9059 (diff) | |
| download | 2048-64f6f1eaa2ecc188292cfe4a7223606b8bcb3bf2.tar.gz 2048-64f6f1eaa2ecc188292cfe4a7223606b8bcb3bf2.tar.bz2 2048-64f6f1eaa2ecc188292cfe4a7223606b8bcb3bf2.zip | |
refactoring to more cplusplusy version of classes
Diffstat (limited to 'include/expectimax.hpp')
| -rw-r--r-- | include/expectimax.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
