r/AskComputerScience • u/CrusadiaFleximus • Sep 07 '25
"Accidentally" turing complete?
Hey everyone,
I remember seeing a Veritasium video on decidability and what not, and he mentioned a few "surprising" turing-complete systems, like Magic: the Gathering and airline ticketing systems.
For MtG, there was a (i think?) Kyle Hill video on how it works, but my question is about the airline ticketing systems:
If I understand and remember correctly, the reason MtG is TC is that you can set up the game state in a way that results in a potentially infinite loop that allows you to "write" instructions via the actions you can take in the game, and if you were to enter that set of actions/instructions into a turing machine it would be able to execute the program
But how exactly can I imagine this to work in the case of airline ticketing systems? Are the instructions for the turing machine a (potentially infinite) set of destinations you travel to in a row, and depending on some kind of factor the turing machine would execute a particular command for each possible destination, meaning you'd be able to "write code" via "booking specific flights"?
Or is my memory just too clouded and that's what confuses me?
View all comments
Show parent comment
2
u/No_Hovercraft_2643 Sep 08 '25
are you sure about that? i don't believe that, because you need at least redstone, and some why to input a state. only repeaters can only be a straight line.