Puzzles led to topology
The bridges of Koenigsberg, ring puzzles and sliding puzzles pushed mathematicians toward new ideas. Caillois adds that combining probability with topology gave the theory of strategic games.
From Caillois, 2001, p. 171. Caillois, R. (2001). Man, play and games. Translated by M. Barash. Urbana and Chicago: University of Illinois Press. ISBN 978-0-252-07033-4. (First Illinois paperback, 2001. The translation first appeared New York: Free Press of Glencoe, 1961, from Les jeux et les hommes, Paris: Gallimard, 1958. No DOI.)