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/GameEngine.h
2015-10-19 15:36:20 -05:00

34 lines
No EOL
537 B
C++
Executable file

#pragma once
#include <vector>
#include "Board.h"
using namespace std;
string myToUpper(string input);
struct moves
{
int row;
char column;
string moveType;
moves(int linea, int columna, string m)
{
row = linea;
column = columna;
moveType = m;
}
};
void displayPossibleMoves(vector<moves> input)
{
cout<<"\n\nList of possible Moves:"<<endl;
for (int i = 0; i < input.size(); ++i)
{
cout<<"possible move: "<<input[i].row<<" "<<input[i].column<<" "<<input[i].moveType<<endl;
}
}