You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the nature of the calculate attack points function, the void card will always have the attack points 0, and will not get chosen by the AI until it is the last card left. The simple fix is just to add the line in that function: if (card1.type == VOID) result = card2.attack_points;
Another issue I noticed is that the player's selected card is played and set to the empty card before the AI performs its calculations. This will result in the AI making its card selection based off only the three cards that the player did not select.
The text was updated successfully, but these errors were encountered:
Due to the nature of the calculate attack points function, the void card will always have the attack points 0, and will not get chosen by the AI until it is the last card left. The simple fix is just to add the line in that function: if (card1.type == VOID) result = card2.attack_points;
Another issue I noticed is that the player's selected card is played and set to the empty card before the AI performs its calculations. This will result in the AI making its card selection based off only the three cards that the player did not select.
The text was updated successfully, but these errors were encountered: