https://cloudnine.qa/pokies-algorithm/