Luck determines the outcome of gambling sessions, but if you use the optimal strategy for every game, you mitigate the house edge.