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 --- src/expectimax.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/expectimax.cpp (limited to 'src/expectimax.cpp') diff --git a/src/expectimax.cpp b/src/expectimax.cpp new file mode 100644 index 0000000..3d8bf54 --- /dev/null +++ b/src/expectimax.cpp @@ -0,0 +1,12 @@ +#include "expectimax.hpp" + +Expectimax::Expectimax(Game *g) +{ + game = g; +} + +Direction Expectimax::move() +{ + // algo(game->clone()); + return DIRECTION_UP; +} -- cgit