corewar.io icon indicating copy to clipboard operation
corewar.io copied to clipboard

Produce animated gifs from Corewar games

Open gareththegeek opened this issue 7 years ago • 3 comments

We could add a feature to produce animated gifs from Corewar games. This would allow people to embed Corewar games into web sites/posts etc.

I suppose they could also provide a replay of games running on the hills although I'm sure about this because traditionally, battles on the hills happen behind closed doors so that the players do not know what strategies the other warriors on the hill are using beyond what is published in the warriors ;strategy tag

gareththegeek avatar Nov 17 '17 15:11 gareththegeek

Interesting, would you envisage taking a screenshot per simulator step?

dougajmcdonald avatar Nov 17 '17 16:11 dougajmcdonald

It might be necessary to take a snapshot every x steps - but yeah!

gareththegeek avatar Nov 17 '17 18:11 gareththegeek

I can see a sensible way to create an image per end of round now we can do that quickly. Unsure how to create a gif on the fly but can't be hard

dougajmcdonald avatar Dec 21 '17 19:12 dougajmcdonald