Enlarge / Assemble just the right deck, and draw just the right cards, and you'll get the equivalent of a universal Turing machine within the game, a new study finds. That makes it the most computationally complex real-world game yet known.Gordon Chibroski/Portland Press Herald/Getty Images

Consider this hypothetical scenario: Bob and Alice are playing a game of Magic: The Gathering. It's normal game play at first, as, say, Filigree robots from Kaladesh face off against werewolves and vampires from Innistrad. But then Alice draws just the right card from her customized deck, and suddenly Bob finds himself caught in the equivalent of a Turing machine, the famed abstract device that can simulate any computer algorithm. Thanks to the peculiarities of the rules of Magic, Bob can now only finish the game when he meets whatever condition Alice has programmed her in-game algorithm to accomplish—for example, to find a pair of twin primes greater than one million.

It may be a highly unlikely scenario, but a recent paper posted on the physics arXiv proves that it's possible in principle to build a simple computer within this massively popular tabletop game using just the right combination of Magic cards. While the inputs must be pre-programmed, "Literally any function that can be computed by any computer can be computed within a game of Magic," said co-author Alex Churchill, a longtime Magic fan who has been working on the problem for several years.

Furthermore, he and his co-authors—Stella Biderman of the Georgia Institute of Technology and Austin Herrick of the University of Pennsylvania—have concluded that Magic might be as computationally complex as it's possible for any tabletop game to be. In other words, "This is the first result showing that there exists a real-world game [of Magic] for which determining the winning strategy is non-computable," the authors write.

Model of a basic Turing machine, part of the Go Ask Alice exhibit at the Harvard Collection of Historical Scientific Instruments.
Enlarge / Model of a basic Turing machine, part of the Go Ask Alice exhibit at the Harvard Collection of Historical Scientific Instruments.GabrielF/Wikimedia Commons

A touch of Magic

For the uninitiated, Magic: The Gathering is a tabletop trading card game, invented in 1993 by mathematician Richard Garfield while he was completing his PhD. Players can build customized decks of 60 cards chosen from the massive collection available. They then use those cards to cast spells, use artifacts, and summon various magical creatures to defeat their opponents by draining them of "life points."

Magic shares some thematic similarities to tabletop games like Dungeons and Dragons—except, of course, Magic relies on thousands of cards (some 20 billion Magic cards were produced between 2008 and 2016 alone) and a dizzying array of rules governing game play. The authors of this latest paper prefer to think of it as a "two-player, zero-sum stochastic card game with imperfect information, putting it in the same category as games like poker and hearts."

Based in Cambridge, England, Churchill is a software engineer by day and an avid designer of games on the side. He grew up playing canasta, bridge, mahjong, and Scrabble, among others, and has well over 250 board games on his home shelves. He first discovered Magic: The Gathering while at college some 20 years ago. He's been an avid player ever since, one of the more than 20 million ardent players drawn to the expansive world-building within the game. (It's so popular that regular World Cup competitions have been held; as you'll see below, Ars UK attended the 2016 edition in Barcelona.)

"It's so many things to so many people," Churchill said of the game's enduring appeal. "Some people love to play to prove themselves the best; some love to play as a social experience; some love to play the game for the swinging with giant dragons and angels. It's got a vast amount of lore and storyline, and the artwork is incredible." It's the creative element of building one's own deck that most appeals to Churchill. "There's a lot of strategic and tactical depth, of course, but there's also a self-expression element in choosing which cards to put together," he said.

Churchill proposed the possibility of assembling a universal Turing machine from Magic cards several years ago as a means of proving that the game is "Turing complete." (You can read all the gory details at his website.) This latest work is a culmination of those earlier findings.

First proposed by Alan Turing in the 1930s, a Turing machine is an abstract concept, as opposed to a physical object, that laid the conceptual groundwork for the invention of the modern computer and basic pRead More – Source

[contf] [contfnew]

Ars Technica

[contfnewc] [contfnewc]