Merge branch 'beccadev' of https://github.tamu.edu/brj2013/Breakthrough into beccadev

This commit is contained in:
Alexander Huddleston 2015-10-27 11:35:01 -05:00
commit 80386d4380

View file

@ -56,20 +56,12 @@ void Engine::easyAI()
{
vector<moves> listOfMoves = b->viewPossibleMoves();
cout << listOfMoves[0].row << "\n";
cout << listOfMoves[0].column << "\n";
cout << listOfMoves[0].moveType << "\n\n";
b->move(listOfMoves[0]);
b->changeTurns();
/*
srand(time(NULL));
int randomChoice = rand() % (listOfMoves.size()-1) - 0; // choose a move betwen listOfMoves[0] to last element
int randomChoice = rand() % (listOfMoves.size()-1) - 0;
//3) execute movement
int temp = randomChoice;
b->move(listOfMoves[randomChoice]);
b->changeTurns();
*/
}
void Engine::AI(){