Multiplayer Games FAQ

I wanted to create this topic regrouping Frequently Asked Questions about Multiplayer games. If you have suggestions about useful things to include please reply to this topic.

I’ve noticed some players output messages, how can I do that?
After your normal output, place a string with the desired message.
Example in C++: cout << “MOVE 123 456 HELLO WORLD” << endl;

I programmed my code to output before the time limit but it still times out.
Make sur you are using a wall clock, not a CPU clock because that is what Codingame’s referee program looks at.
Example in C++: use gettimeofday/chrono, not clock

I want to see my stats like win/loss against other players.
Magus made a website for this and describes it in on this forum topic.

5 Likes