public static boolean canCastleLeft(GameBoard board, int color, int col, int row)
	{
		if (col - 3 < 0) // out of bounds
			return false;
		
		if (!allowedCastling(board, color, col, row, false))
			return false;
		
		if (board.isEmpty(Position.get(col - 1, row)) && board.isEmpty(Position.get(col - 2, row)) && board.isEmpty(Position.get(col - 3, row))
				&& !isUnderAttack(board, Position.get(col, row), Piece.getOppositeColor(color), true)
				&& !isUnderAttack(board, Position.get(col - 1, row), Piece.getOppositeColor(color), true)
				&& !isUnderAttack(board, Position.get(col - 2, row), Piece.getOppositeColor(color), true))
		{
			return true;
		} else
		{
			return false;
		}
	}