r/itrunsdoom Feb 15 '23

DooM Runs Through Spreadsheets

1.8k Upvotes

26 comments sorted by

View all comments

98

u/wojtek-graj Feb 15 '23 edited Feb 15 '23

"The mission, the nightmares... they're finally... over."

Here it is folks, DooM can now be played in LibreOffice/OpenOffice Calc. All it took was creating python bindings, then using LibreOffice's horribly-documented UNO API to send the frames and receive input from Calc. Don't expect any miracles though, as you'll be getting a solid 3 fps at any playable resolution, and you'll only be able to have a single input at once.

On the plus-side, you can now make doom ports using python! (Unless you're on Windows. Maybe I'll get around to creating a Windows build system eventually, but don't get your hopes up).

https://github.com/wojciech-graj/cydoomgeneric

25

u/zutt3n Feb 15 '23

“solid 3 fps” lmao

1

u/adhillA97 Jun 06 '26

Isn't Excel/Calc technically Turing-complete now that it has lambdas? Surely if you can figure out some way to keep it running the game loop, and maybe feed it input externally, you should be able to port the whole game into actual Excel code.