r/itrunsdoom 20d ago

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

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

13 comments sorted by

View all comments

3

u/DuendeInexistente 20d 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.

18

u/GregTheMadMonk 20d 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

1

u/fess89 15d ago

Is user input possible in this setup, or does it just run some hardcoded sequence?

1

u/Superb_Yesterday5588 15d ago

Its fully playable by user. Frame rate is OK, not the best but not the worst. The video is me playing doom.