From 8eebf1079fbed2848ee47cf990f5def5926a0c1f Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Tue, 19 Apr 2022 21:24:15 +0200 Subject: Refile for merging repos --- 2015-spacebot/include/spacebot.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 2015-spacebot/include/spacebot.h (limited to '2015-spacebot/include/spacebot.h') diff --git a/2015-spacebot/include/spacebot.h b/2015-spacebot/include/spacebot.h new file mode 100644 index 0000000..9f7f83e --- /dev/null +++ b/2015-spacebot/include/spacebot.h @@ -0,0 +1,18 @@ +#pragma once + +#include +#include "move.h" +#include "game_state.h" + +class Spacebot { +public: + Spacebot(std::string outputPath, std::string brainFilename); + void writeNextMove(); +private: + std::string _outputFilename; + std::string _brainFilename; + GameState _gameState; + + void writeMove(const Move& move); + Move chooseMove(); +}; -- cgit v1.2.3