.
online slot machine algorithm bdfs