my probably poor attempt at implementing one armed bandit/whiplast alto.