Blaise Pascal, a French mathematician and philosopher, is often credited with inventing the first version of roulette in the 17th century. Pascal's motivations for creating the game were likely driven by his curiosity about the principles of probability and his desire to develop a perpetual motion machine. He was trying to solve the problem of the Christian notion of the "perpetual motion machine," which was a popular intellectual pursuit at the time.