For a few months in 1880, entire swaths of the United States succumbed to an addiction the likes of which had never been seen. “It has become literally an epidemic all over the country,” wrote The Weekly News-Democrat in Emporia, Kansas, on March 12, 1880. “Whole cities are distracted, and men are losing sleep and going crazy over it.” The epidemic spread to Europe and as far as Australia and New Zealand.

The disease was a new obsession: a frustratingly simple mechanical game called the 15-puzzle. Still familiar today, it consists of a four-by-four grid in which you slide 15 numbered tiles around, trying to put the numbers in sequence.

The game seems quaint by today’s standards, but in 1880, it was all the rage. “No child is too puerile to be beneath its entertaining powers, and no man is too vigorous or in too high station to escape its fascination,” the News-Democrat wrote. The frustration, perhaps, stemmed from the mathematically proven fact that only half of the puzzle configurations are solvable (likely unbeknownst to the addicted).

Now, nearly 140 years later, the 15-puzzle is of interest again, this time not as a distraction, but as a way to understand a seemingly unrelated and much more complex puzzle: how magnets work.

To read more, click here.