GreatEmerald / libarcomage

The backend for Arcomage-like games.
http://greatemerald.eu/index.php/arcomage
GNU General Public License v3.0
2 stars 0 forks source link

AI mishandles discarding #14

Closed GreatEmerald closed 10 years ago

GreatEmerald commented 10 years ago

The AI tends to discard the first card on hand, instead of paying attention to what has the lowest priority. That leads to situations where the AI gets a cursed card and cannot proceed, leading to the game locking up. Could be related to issue #9.

GreatEmerald commented 10 years ago

Fixed: https://github.com/GreatEmerald/libarcomage/commit/ab894bb652f3c261cdee054fa84ff07e28a8cbb5