I encounter what seems to be a bug in a game versus DEFAULT AI (bronze ligue).
A link to the replay: Coding Games and Programming Challenges to Code Better
At each loop, I do the following code for retrieving inputs:
print("getting sonar", file=sys.stderr)
sonar_result = input()
print("sonar :", sonar_result, file=sys.stderr)
print("getting opponent orders", file=sys.stderr)
opponent_raw_orders = input()
print("opponent raw orders :", opponent_raw_orders, file=sys.stderr)
I get something like this for all frames, this is what is expected:
getting sonar
sonar : NA
getting opponent orders
opponent raw orders : MOVE E
Until for frame 37, for which I get this:
getting sonar
sonar : NA
getting opponent orders
And nothing else… I guess it’s stuck at the input() call (the one for opponent orders).
Could you investigate?
Good job for the game btw, it’s really challenging and amusing ![]()