Discovering the psychology behind gambling behavior