updating branch
This commit is contained in:
parent
7e8a82a1e4
commit
b1f3496981
1 changed files with 0 additions and 4 deletions
|
@ -28,7 +28,6 @@ Board::Board() {
|
||||||
|
|
||||||
moves Board::parse(string input)
|
moves Board::parse(string input)
|
||||||
{
|
{
|
||||||
|
|
||||||
input = myToUpper(input);
|
input = myToUpper(input);
|
||||||
|
|
||||||
cout<<input<<endl;
|
cout<<input<<endl;
|
||||||
|
@ -255,7 +254,6 @@ void Board::move(string inputMove)
|
||||||
|
|
||||||
void Board::move(moves jugada)
|
void Board::move(moves jugada)
|
||||||
{
|
{
|
||||||
|
|
||||||
int row = 8 - (jugada.row);
|
int row = 8 - (jugada.row);
|
||||||
int kolumn = charToIntColumn(jugada.column);
|
int kolumn = charToIntColumn(jugada.column);
|
||||||
|
|
||||||
|
@ -522,14 +520,12 @@ void Board::snapshot(vector<Board>& inputVec, Board inputBoard)
|
||||||
cout<<"QUEUE OVERFLOW!"<<endl;
|
cout<<"QUEUE OVERFLOW!"<<endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inputVec.push_back(inputBoard);
|
inputVec.push_back(inputBoard);
|
||||||
}
|
}
|
||||||
|
|
||||||
//move this to its own file
|
//move this to its own file
|
||||||
void Board::easyAI()
|
void Board::easyAI()
|
||||||
{
|
{
|
||||||
|
|
||||||
//1) see all possible movements
|
//1) see all possible movements
|
||||||
|
|
||||||
vector<moves> listOfMoves = viewPossibleMoves();
|
vector<moves> listOfMoves = viewPossibleMoves();
|
||||||
|
|
Reference in a new issue