robocode-dev / tank-royale

Git repository for Robocode Tank Royale
Apache License 2.0
144 stars 29 forks source link

Game replays #55

Open stobias123 opened 1 year ago

stobias123 commented 1 year ago

Describe the solution you'd like Curious if there's any way to record / replay games from the server side?

Describe alternatives you've considered Right now I have a semblance of recording via some custom python rendering in bot PoV. Would be cool to see it from the server side though.

flemming-n-larsen commented 1 year ago

Currently, this is not supported. But it should not be hard to implement, as an observer can be made to receive both game state and events, which can record the battle into e.g. xml, json or something else. Next step would then be to extend the GUI to read the file, and display the battle. 🙂