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

24 lines
464 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"
#include "Parser.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-11-02 17:20:50 -06:00
int alpha, beta;
2015-11-02 16:42:47 -06:00
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();
2015-11-02 17:27:45 -06:00
void userGame(int difficulty);
void AIGame(int difficulty);
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-11-03 20:37:25 -06:00
int evaluateMMBranch(MNode* node, int max, int min);
2015-10-29 08:58:32 -05:00
};