Q1 if you’re playing bot programming games then, the more players, the more points you can get. Independently of your code.
Q2: Depends against who you won. Were they private clashes?
Quand pourra-t-on rejouer à Hypersonic ?
Merci.
Hypersonic will be released end of this month
Is there a way to retry the questions in the clash of codes?
Is there a way to save your progress and come back to it later ?
Oh I thought it didn’t save since whenever I tried to quit the webpage it says “your progress will be lost” ! I tried it and it saved anyways so thank you
Will fantastic bits be released after it ends?
yes it will
Hello,
It seems my old account was deleted and every achievements I ever made was forgotten and I cannot find the site chan either.
That’s a problem
what was the username of your old account? You can PM me the associated email address
Is there any way to access old clash of code battles so that we can try them again? Or at least see our old code?
What is autopublish solutions? It’s an option in my account settings.
At the end of every clash of code/any battle I am given the option to share my code. Where is it being shared to? How do I see it?
oh, I just replied to your email. I thought you were talking about another type of multiplayer game.
There is no way to access again a CoC (Clash of Code) battle once you have submitted your code. You can always see your code from the CoC result page. You can also share it. It means that other players of the same CoC will be able to see what you submitted once they submit as well. No other people can see it.
The option to autopublish solutions in your settings is actually for something else.
Hello,
Does each test have a particular solution, or do we have to suggest a code for each question?
Because it seems that the entries change according to each test.
Edit : For a same game.
Thanks
If your program does what the problem statement describes, it will solve all testcases.
That’s what i was thinking. Thank you chr-m
Apparently it happend again.
All my records have been lost.
While this statement is well-intentioned, it should be noted that you can indeed print all your solution at once, it will be read by the arbiter as if you are committing the moves seperately every turn, since it reads as you feed it and handles them as it wants to. For example, if you are expected to print 3 lines per turn, and you print 6 lines:
- The first 3 lines of the input will be treated as your decisions for the current turn.
- The next 3 lines of the input will be treated as your decisions for your next turn, and the arbiter will continue to feed you new turn information only taking account having seen the first 3 lines.
This means you’d be “ahead” of the arbiter by 1 turn the entire time, so you could for example program in a logic to skip a turn every time you decide to print multiple turns worth of actions. If you know for sure that your code has reached the final state you can indeed “solve” the game by printing all the moves you need (for a path finding algorithm to a 100% certain win state for example).
Huge warnings necessary. This might be valid in practice, but be aware that in theory, it could fail, most likely for large referee->AI transfers (in terms of problem solving: large inputs).
The referee loop is some expansion over:
GameState gs(initState);
gs.sendGlobalsToPlayer();
while ( !gs.done() ) {
gs.sendInputToPlayer();
Command c = getPlayerOutput();
gs.update(c);
}
Writing ahead of the referee means that no one will read the data in the sendInputToPLayer()
line. But that data won’t be lost: it will stay in some queue until it’s read (OS or process or some hybrid, who knows, the point is I’m not aware of any policy that could work in all cases), since it has to be available should the process ever want to read it. The more you wait, the more you push the risk that the referee process would block on output.
I’d be very pleasantly surprised if CG chimed in and retorted their I/O system is nonblocking full-duplex, but I wouldn’t bet on it, and even less publicly recommend to push it unless the I/O volume is reasonably constrained.
Examples and counterexamples (in both directions of the argument) welcome.
Hi I am new to CodinGames. Does CodinGames have something like editorials ? What do I do if I am unable to solve a particular puzzle ? I can’t see the solution since I haven’t solved it, then what do I do ?