Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording game play? #3

Open
nogweii opened this issue Mar 25, 2013 · 3 comments
Open

Recording game play? #3

nogweii opened this issue Mar 25, 2013 · 3 comments
Labels

Comments

@nogweii
Copy link

nogweii commented Mar 25, 2013

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.

@awilliams
Copy link
Owner

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.

@dzrw
Copy link

dzrw commented May 15, 2013

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
Copy link

dzrw commented May 15, 2013

See: #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants