mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
tests: added AI performance tests to reproduce bad use cases with too much possible targets
This commit is contained in:
parent
416beb741c
commit
7d229e511c
2 changed files with 50 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ public class ComputerPlayer extends PlayerImpl {
|
|||
// * 5 for good performance on average computer
|
||||
// * use your's CPU cores for best performance
|
||||
// TODO: add server config to control max AI threads (with CPU cores by default)
|
||||
// TODO: rework AI implementation to use multiple sims calculation instead one by one
|
||||
final static int COMPUTER_MAX_THREADS_FOR_SIMULATIONS = 5;
|
||||
|
||||
private final transient Map<Mana, Card> unplayable = new TreeMap<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue