Closed cgolubi1 closed 1 year ago
I guess my only query here is whether your random_ai.py that you're running here is the up-to-date version that considers Wildcard in its logic.
Hah. Good call, no, the version i'm using for Tournament testing is out-of-date. Thanks!
This is my bug, but i can't immediately find how my logic is wrong, so i'm going to file it rather than submitting a fix right away. Given this game state (encountered on the Tournaments test site):
the backend says there's a valid Power attack, but RandomAI can't find it. The exception is:
At a glance, i don't understand what the problem is ---
_is_valid_attack_of_type_Power()
appears to handle the Wildcard Ace case, and i don't see a discrepancy between what that function is looking for and what the backend reports about the state of the dice.But obviously something is broken, because here is this stacktrace.