This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
breakthroughpine64backup/Engine.h

22 lines
387 B
C
Raw Normal View History

2015-10-25 16:43:27 -05:00
#pragma once
#include "Board.h"
2015-10-29 08:58:32 -05:00
#include "MNode.h"
2015-10-25 16:43:27 -05:00
using namespace std;
class Engine {
2015-10-25 16:53:32 -05:00
Board* b;
2015-10-25 16:43:27 -05:00
public:
Engine();
2015-10-28 17:12:44 -05:00
Board* getBoard() { return b; }
2015-10-25 16:43:27 -05:00
void startGame();
void userGame();
void AIGame();
2015-10-28 17:12:44 -05:00
void AI(int depth);
void createMMTree(MNode* node, int depth, int alt);
2015-10-29 13:06:15 -05:00
moves evaluateMMTree(MNode* node);
2015-10-29 13:54:16 -05:00
int evaluateMMBranch(MNode* node, int sum);
2015-10-29 08:58:32 -05:00
};