From 19ae4e74aedbbfde9aaed9241f616decc3ec9059 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 19 Mar 2020 15:22:00 +0100 Subject: Interface for ai (tested with random AI) --- include/rand_ai.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/rand_ai.hpp (limited to 'include/rand_ai.hpp') diff --git a/include/rand_ai.hpp b/include/rand_ai.hpp new file mode 100644 index 0000000..9739dae --- /dev/null +++ b/include/rand_ai.hpp @@ -0,0 +1,17 @@ +#ifndef RAND_AI_HPP +# define RAND_AI_HPP + +#include "ai.hpp" +#include "game.hpp" + +class RandAI : public AI +{ + public: + RandAI(Game *g); + Direction move(); + + private: + Game *game; +}; + +#endif -- cgit