Simplifying logic for random movement strategy