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
2015-11-03 23:27:33 -06:00

24 lines
482 B
C++

#pragma once
#include "Board.h"
#include "MNode.h"
#include "Parser.h"
using namespace std;
class Engine {
Board* b;
int alpha, beta;
public:
Engine();
Board* getBoard() { return b; }
void startGame();
void userGame(int difficulty);
void AIGame(int difficulty);
void AI(int depth);
void createMMTree(MNode* node, int depth, int alt);
moves evaluateMMTree(MNode* node);
int evaluateMMBranch(MNode* node, int max, int min);
void resetAB();
};