* Checks to see if any moves are possible. If not, then it is either a checkmate or stalemate, depending on whether or not anyone is currently in check.
* @return
*/
publicbooleancanAnyPieceMakeAnyMove(Stringcolor){
Piece[][] oldBoard = board.clone();
for(intx = 0; x<board.length; x++){
for(inty = 0; y<board[0].length; y++){
//Check this piece against every other piece...
for(intw = 0; w<board.length; w++){
for(intz = 0; z<board[0].length; z++){
try{
if(board[x][y] != null){
if(board[x][y].getColor().equals(color)){
//System.out.println(coordinatesToMoveString(x, y, w, z));
performMove(coordinatesToMoveString(x, y, w, z), board[x][y].getColor(), false);