Compiles now.
This commit is contained in:
parent
943befd810
commit
7e2c9ad11f
2 changed files with 2 additions and 8 deletions
|
@ -2,12 +2,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
|
||||||
#include <sstream>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include "Engine.h"
|
#include "Engine.h"
|
||||||
|
|
||||||
Engine::Engine(){
|
Engine::Engine(){
|
||||||
|
@ -110,7 +104,7 @@ void Engine::AI(){
|
||||||
cout << "----------------------END AI FUNCTION----------------------\n";
|
cout << "----------------------END AI FUNCTION----------------------\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
moves Engine::minMax(Board* temp, moves m, int c, int r){
|
moves Engine::minMax(Board temp, moves m, int c, int r){
|
||||||
//testing purposes only, c = finite depth
|
//testing purposes only, c = finite depth
|
||||||
|
|
||||||
cout << "c: " << c << "\n\n";
|
cout << "c: " << c << "\n\n";
|
||||||
|
|
2
Engine.h
2
Engine.h
|
@ -13,5 +13,5 @@ public:
|
||||||
void easyAI();
|
void easyAI();
|
||||||
void AI();
|
void AI();
|
||||||
Board* getBoard() { return b; }
|
Board* getBoard() { return b; }
|
||||||
moves minMax(Board* temp, moves m, int c);
|
moves minMax(Board temp, moves m, int c);
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue