I am doing Code4Life. In this there is a variable called carriedBy which shows if any sample is carried by our player (value is 0), other player (value is 1) or available in cloud (value is -1). But I have checked its value and it is always -1.
Hi! If you pick the sample, it will change to 0. Initially it’s always -1 - you and opponent don’t have any.
I keep trying to research the same thing that the bot already researched. What variable do I need to check to determine if the bot has already researched something?
If a sample is diagnosed, the corresponding variables gain and cost are not null anymore.