DRL > Requests For Features

Online database?

<< < (2/2)

RogerN:
If the seed value for the random number generator is provided along with the list of commands then that ought to be sufficient to replay a game.  Depending on how saved games are implemented, you might need to include a different seed value for the start of each level.

Monster movement, dodging, level generation, item drops, etc... can all be replicated exactly with the correct seed (and assuming player commands are issued exactly as before).

thelaptop:

--- Quote from: RogerN on August 09, 2010, 08:51 ---If the seed value for the random number generator is provided along with the list of commands then that ought to be sufficient to replay a game.  Depending on how saved games are implemented, you might need to include a different seed value for the start of each level.

Monster movement, dodging, level generation, item drops, etc... can all be replicated exactly with the correct seed (and assuming player commands are issued exactly as before).

--- End quote ---
That is assuming that the order of execution and the calls to the RNG are in the same order in the recorded stream and the playback version of the program.  I think short of calling a code freeze, we cannot really guarantee that such a saved replay can even play on future releases of DoomRL.

That said, if this were engineered in DoomRL 2 before any lines of code are written, I can see how this can be very successful.

Navigation

[0] Message Index

[*] Previous page

Go to full version