There is a wonderful book about this by Thomas Bass, which I adored as a teenager in the early ’90s. My British copy (which I still have) is entitled
The Newtonian Casino, but I gather the original US edition was called
The Eudaemonic Pie.
I’ve often wondered why this book isn’t better known. I would recommend it.