TIL John Carmack accidentally used an incorrect value of pi in Doom's source code, off by a small amount at the 10th decimal place.
Non-Euclidean Doom: what happens to a game when pi is not 3.14159 (2022) [video] (ccc.de)
607 points by robin_reala 58 days ago | hide | past | favorite | 170 comments
If you corrupt the game, the game gets corrupted. That's the gist of the article. This is not non-euclidean geometry. This is just a deliberately inserted bug, that makes the game bug out.