We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

PaleBlueDot • 5 months ago

When can we expect C# 10 with .NET 6 support?

jokovitch • 2 weeks ago

+1 🙏

dot.nick • 2 months ago

this

dontbeajerk • 2 years ago

wow this is cool

StormyPluto3865 • 1 year ago

How do I create a validator?

[CG]Thibaud • 1 year ago

a validator is just a regular test. If you're creating a puzzle using the platform directly, you add tests by pairs: the IDE test and its corresponding validators. With the SDK, it's a bit different

Developer-PK • 6 months ago

Hello Thibaud, Just wanted to know whether validator is visible to the user or not.
If it is hidden than is it used as a separate test of the user's code after submission

[CG]Thibaud • 6 months ago

Validators are not visible. It's indeed a separate test only used for checking the user's code at submission

Coding_Aria • 7 months ago

what's the example code for making tests and creating validators, in Python?

luke-guyton • 1 year ago

typo: heard -> head

dontbeajerk • 2 years ago
tuning • 2 years ago

what

Anonymous • 4 months ago
nesnes112 • 6 months ago

Hi every body
can anyone help me in coding in javaScript?

Tum4ik • 8 months ago

is it possible to participate in several teams?

[CG]Thibaud • 8 months ago

no, it's not possible. Would probably be boring to replay the same mission

Xlos • 1 year ago

On CoC: Binary outputs should be avoided in CoC.

I don't think this makes any sense. If anyone really wants to solve the problem by binary searching for the hidden values on 7 validators and giving the right output, I think they have done more work than actually solving the problem. This is double true considering that these are CoC rules, not puzzles.
Many problems are naturally posed as binary and better left that way. A better rule would be "binary outputs should be accompanied by many test cases" or something.

tutubalin • 1 year ago

print(True) may give more than 50% scores.

ZackGabri • 1 year ago

they mean binary outputs such as outputting `true` or `false` only
binary is anything made out of 2, not necessarily binary counting

Alcalyn • 2 years ago

About "
The player's id should be 0.",how to handle that in multiplayer game ?

Should we transform index to players relative position to make them always appears as 0, and transform back their index in their output to retrieve the real index ? (I tried, it works but displays the relative index in game output so other players see this when playing game)

Or we should ignore and tell to the player with index he is ?

I looked at the "Chip poker race" multiplayer game, it tells to the player which index he is, so I'll follow this for now

[CG]Thibaud • 2 years ago

Yes, first option is better.