The first book on the subject was published by Christiaan Huygens in 1657. An English translation of the original Latin was published in 1714 and can be found
here. Huygens argues that the expected value of a bet should be equated with it's fair value.