Understanding the psychology that drives gambling behavior