The parsing of the commands is done first and the orders are parsed from left to right. As soon as you do an invalid order (twice order the same pac), we stop reading more orders and your player is deactivated. However, your first valid commands are accepted and will be played.
We hesitated between that or cancelling all the orders for the current turn. We decided that it would not make a big difference anyway and decided not to change it.
In your example, Code.ama, your pacs have the SPEED enabled, however you order your pacs to move a cell at a distance of 1. They do not move during the SPEED turn because they already reached their target.
Can anyone tell me why all of my players suddenly die? This happens in a lot of the simulations. It looks to me like there is no way that my players should all of the sudden be gone. Is there a way for them to commit suicide that I donât know about?
My video window does not showing anything itâs only a black screen. Some people suggest to press F5, ctrl+shift+r . But didnât worked for me. what to do.
Bug : The number of pellets in the input doesnât correspond to the number of line received :
seed=-5267678287861790700
Against the default IA
I tried this code :
visible_pellet_count = int(input())
log("Number of line %d" % visible_pellet_count)
for i in range(visible_pellet_count):
x, y, value = [int(j) for j in input().split()]
log("Line n° %d" % (i + 1))
My program is waiting for one more input, and timed out.
This is weird because when I donât give instructions to my IA, there is no problem.
I donât read stdin somewhere else in my program.
Before my reading function, there is 49.92244318127632ms left.
Itâs not a bug but an unfortunate side effect of how printing in python works - you do actually get all the data but your last print statement gets buffered and doesnât send the output before timing out.
It would be very nice to tweak player to clearly distinguish which part of turn is playing now - first common or second for speedy pacs. Itâs absolutely unclear when all pacs are under speed bonus.
Some tick or label, one for all picture.
Thank you to all players who took time to answer the questions of other players.
And sorry for all the performance issues during the first day of the challenge.
Unsafe mode for C# was fixed.
C template does timeout sometimes. It hasnât been fixed yet.
Changes done in Silver league:
max length for a game is now 200 turns, and not 200 frames
dead pacs are given in input with the type âDEADâ
Weâve not found a solution to prevent properly the surge of games with the opening of the new league. However, weâll promote less persons per second and there will be fewer matches in Silver until all promotions are done