For gamblers, near-misses provide a dangerous reward