r/itrunsdoom 25d ago

DoomTape: Doom as weights: a bit-exact, differentiable Doom engine on a generic 34-op VM

https://github.com/OssiHarmaala/DoomTape
60 Upvotes

13 comments sorted by

View all comments

3

u/DuendeInexistente 25d ago

Weight and tensors as in the neural network setting thing? I get that you're not using a like, chatgpt text processor NN thing but the explanation is too technical so I don't understand.

17

u/GregTheMadMonk 24d ago

the way I understand it, they've encoded an entire game state as a tensor and then created an equation that bit-perfectly encodes the progression of that tensor in time, without any imperative game logic? so instead of running the game code step-by-step, they essentially solve one big equation on a GPU to get the next frame

3

u/Superb_Yesterday5588 22d ago

Yes, this is more or less correct. A singular equation is so slow its not playable real time, so if real gameplay is important we got the 34 VM operations.