protected MoveResult checkresign(HantoPieceType pieceType, HantoCoordinate from,
			HantoCoordinate to) throws HantoPrematureResignationException {
		MoveResult result = MoveResult.OK;
		
		if(pieceType == null && from == null && to == null) {
			if(turn.equals(HantoPlayerColor.BLUE)) {
				result = MoveResult.RED_WINS;
			}
			else {
				result = MoveResult.BLUE_WINS;
			}
			gameIsOver = true;
			
			//check if any moves could have been made
			if(!moveCanBeMade().isEmpty()) {
				throw new HantoPrematureResignationException();
			}
		}
		
		return result;
	}