RTanque icon indicating copy to clipboard operation
RTanque copied to clipboard

Recording game play?

Open nogweii opened this issue 11 years ago • 3 comments

Haven't had a chance to look at the documentation, but how hard would it be to record a game? I imagine it would be a matter of storing the initial positions, the current random seed, and the series of Commands issued, then just animating that.

nogweii avatar Mar 25 '13 04:03 nogweii

Recording a game would consist of something like you've described. Animating that recording would be more complicated and I'm not sure how it could be done.

awilliams avatar Apr 02 '13 11:04 awilliams

If you record the tick count along with each command issued, then you can build a data-driven bot which simply replays the commands on the matching tick. Spawn the data-driven bots at the initial positions, hook up their command sources, and start the "match".

dzrw avatar May 15 '13 06:05 dzrw

See: #9

dzrw avatar May 15 '13 23:05 dzrw