We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
+1 🙏
this
wow this is cool
How do I create a validator?
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
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
Validators are not visible. It's indeed a separate test only used for checking the user's code at submission
what's the example code for making tests and creating validators, in Python?
typo: heard -> head
what
<img src="https://cdn-media-1.freecod..."/>
Hi every body
can anyone help me in coding in javaScript?
is it possible to participate in several teams?
no, it's not possible. Would probably be boring to replay the same mission
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.
print(True) may give more than 50% scores.
they mean binary outputs such as outputting `true` or `false` only
binary is anything made out of 2, not necessarily binary counting
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
Yes, first option is better.
When can we expect C# 10 with .NET 6 support?