<<<<<<< HEAD
#include <iostream>
#include "Piece.h"
using namespace std;
Piece::Piece(){
x = -1;
y = -1;
type = '?';
}
Piece::Piece(int r, int c){
x = r;
y = c;
type = '_';
Piece::Piece(int r, int c, char t){
type = t;
void Piece::moveFwd(){
if (type == 'X'){
x++;
else if (type == 'O'){
x--;
else
cout << "Error: trying to move an empty piece forward.";
void Piece::moveLeft(){
y--;
cout << "Error: trying to move an empty piece left.";
void Piece::moveRight(){
y++;
void Piece::isTaken(){
cout << getX() << " " << getY() << "\n\n";
=======
>>>>>>> master