Gambling and economic thought in the Late Middle Ages