Coder Runs Doom Game Using Regular Expressions, Rendering Frames in 180 Seconds Each
A coder has successfully run the classic video game Doom by utilizing regular expressions, a method that significantly slows down the game's performance. Each frame of the game now takes approximately 180 seconds to render, a stark contrast to the game's original speed. This achievement involves using a single text string to control the machine, the game engine, and the video output. The process requires nearly 14 million substitutions to render a single frame, operating at a rate of 80,000 substitutions per second. The coder described the experience metaphorically as akin to playing 'correspondence chess with a shotgun.' This innovative, albeit slow, application demonstrates a novel way to interact with game code through text manipulation.
This technical feat highlights the creative potential of repurposing computational tools for unconventional applications. While running Doom via regular expressions is not a practical gaming solution due to extreme latency, it serves as a compelling demonstration of how fundamental text-processing mechanisms can be leveraged to interact with complex software systems. It prompts reflection on the underlying architecture of both modern games and the tools we use to develop and analyze them. The extreme processing demands underscore the efficiency gains achieved by specialized game engines and hardware, while also suggesting avenues for exploring novel forms of computational art or low-level system interaction.
AI-generated to prompt reflection — not editorial opinion, not advice, not a statement of fact. How this works.