Ghost.b88 Posted January 21, 2011 Report Share Posted January 21, 2011 Is there a way to save a replay of a game and replay later?The idea is that we can use the same scenario to test the pre-optimized code and optimized code, and see if an improvement is made. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 21, 2011 Report Share Posted January 21, 2011 Yes, as mentioned here . Run the game normally, find its commands.txt, then pass it to -replay. Does that do what you want? (The replay mode will also print a hash of the complete game state (every 100 turns and at the end) which is useful for verifying that your optimisations didn't change the behaviour of the algorithm.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.