From 7e2c9ad11fa5d87644d8e93e5826cf411a7b1911 Mon Sep 17 00:00:00 2001 From: Alexander Huddleston Date: Tue, 27 Oct 2015 22:46:11 -0500 Subject: [PATCH] Compiles now. --- Engine.cpp | 8 +------- Engine.h | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Engine.cpp b/Engine.cpp index 30c3215..aa8c498 100755 --- a/Engine.cpp +++ b/Engine.cpp @@ -2,12 +2,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include #include "Engine.h" Engine::Engine(){ @@ -110,7 +104,7 @@ void Engine::AI(){ 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 cout << "c: " << c << "\n\n"; diff --git a/Engine.h b/Engine.h index f5b5371..3ecf824 100755 --- a/Engine.h +++ b/Engine.h @@ -13,5 +13,5 @@ public: void easyAI(); void AI(); Board* getBoard() { return b; } - moves minMax(Board* temp, moves m, int c); + moves minMax(Board temp, moves m, int c); };