@igner: Yea, it really was like that.
Try yourself. The C++ starterpack bot is really fast. I am not exactly sure what your "echo C++ bot" does. To reproduce my sample: Use the C++ starterpack bot and play it on map1.txt. It should end exactly with 579 turns and player 2 should win.
Btw., both the engine and the viewer still read one char at a time in my C++ implementation. I was too lazy to make that more complicated. And it still seems fast enough. I am also not sure if that makes really such a huge difference in C++. (std::string does not need to reallocate all the time because it grows exponential or something like this, depending on the STL implementation).
theli_ua wrote:yes, but i have no idea why it behaves differently....
and the results are reproducable every time i play that match
Good question. You should maybe add some debugging message to your bot why it makes that decision to see why your bot behaves different.