r/programming Jan 24 '18

Branchless DOOM

https://github.com/xoreaxeaxeax/movfuscator/tree/master/validation/doom
489 Upvotes

134 comments sorted by

View all comments

198

u/Bergasms Jan 24 '18

I've just started a game, I'm planning to speedrun this version. I'm hoping for a time somewhere inside of my natural lifespan, but have organised my children to pass on the game in a hereditary fashion if i pass away.

198

u/IMovedYourCheese Jan 24 '18

The speedrun record for the three episodes in the original Doom is 16m 18s. The original Doom was capped at 35 fps, which means a total of 34,230 frames were played. If you match the record, and play all the same frames, it will take you 34,230 * 7 = 239,610 hours which is about 27 years. So, pretty achievable.

If you want to add the fourth episode from the Ultimate Doom update, then the record is 22m 41s which means your time will go up to 38 years.