This applet computes probabilities for the Wald–Wolfowitz Runs Test.
Select the tail and enter $x$ to find the p-value or specific probability.