Really hard to investigate. Won’t fix before the end of the challenge. We’ll try to make improvements for next contest.
I can only advise to take a bit more margin against the 50ms limit and to limit the nb of objects created for GC. It impacts all players.
Release vs Debug mode
We’ll put release in IDE for Rust, C#, F# and VB.net this morning (Wednesday) and see if doesn’t create too many issues for people used to Debug
Request for coders who do live streaming in the codingame.
Please include the name of the programming language in the title of your stream so that we can find the stream of the language that we want to see.
Thanks
There is:
For instance, a client order with delta = -2, -1, 0, 0 means you have to consume 2 tier-0 ingredients and 1 tier-2 ingredients from your inventory in order to brew the potion.
There should be:
For instance, a client order with delta = -2, -1, 0, 0 means you have to consume 2 tier-0 ingredients and 1 tier-1 ingredients from your inventory in order to brew the potion.
VB.NET default code contains “error BC30182: Type expected.” on lines 23 and 24
Dim castable as ’ in the first league: always 0; later: 1 if this is a castable player spell
Dim repeatable as ’ for the first two leagues: always 0; later: 1 if this is a repeatable player spell
python version of stub code has an error on the first line ValueError: invalid literal for int() with base 10. Code it is raising error on: action_count = int(input()) # the number of spells and recipes in play
Not a bug, but I think there is an error with the “translation” from the card game to the codingame challenge
According to the first 4 basic spells, the order of the ingredients would be: blue < green < orange < yellow. But for the recipe and spells deck, the order is instead: blue < orange < green < yellow, so the green and orange ingredients have been swapped. For example we have :
Am I misunderstanding or is there absolutely no way to know what your opponent casted? If this is the case how one would even know if the +3 bonus rupees is still available or not? I don’t see in any input any information that can be read to know if your opponent brewed or not the first order in the list with the bonus.
…is there absolutely no way to know what your opponent casted? If this is the case how one would even know if the +3 bonus rupees is still available or not?
As I understand, you don’t actually need to know that.
When you and you’re opponent cast/brew the same thing, you both get the result and the points.
This is described in the lower section “Technical Details” of the rules (Bronze League), just before “Game Protocol”.
Visuals.
The spells that are repeatable and the ones that are not, are visually indistinguishable from each other in the “magic tome” and in personal “tomes”.
xoposhiy had one point more than Malcoriel before the last turn. On the last turn players brewed the same potion. But Malcoriel stated as a winner with the score 2 points higher than should be. Why?
It’s explained in the rules and works as intended. Players gain 1 rupee for each tier-1 ingredient or higher in their inventory. malcoriel had 2 of those ingredients, so he got 2 extra points
Maybe that is a pun, intended…
Or this is the Wood league of the CG Tongue Twister contest. In its Legend league you will have to say the sentence loud 100x per minute.