Commit graph

259 commits

Author SHA1 Message Date
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +04:00
BetaSteward
e859e142fa 2 DKA 2012-03-26 08:55:30 -04:00
magenoxx
523481b5a2 Added additional parameter for effect outcome. Updated choosing permanents for AI. 2012-03-26 10:59:04 +04:00
BetaSteward
12027369a5 DKA - IncreasingVengeance 2012-02-29 13:35:34 -05:00
BetaSteward
68391a7522 fixed some NPE's and other errors 2012-02-23 15:26:57 -05:00
BetaSteward
48f5a469d4 fixes for monte carlo ai 2012-02-13 09:05:01 -05:00
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -05:00
BetaSteward
1d32f49fd0 modified triggered abilities, continuous effects and zones 2012-02-02 23:27:23 -05:00
BetaSteward
fe0c5e48e9 cache already rated cards if not drafting or constructing 2012-02-02 23:01:56 -05:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00
magenoxx
4d9493a256 Update jars. BugCantFindCardInLibrary now works. 2011-12-26 18:49:32 +04:00
Loki
0980ca5948 fix deadloop (need testing) 2011-12-26 17:52:52 +04:00
magenoxx
cdb9cd69ff Now AI will use all abilities without paying attention to effect outcome.
This fixes ObNixilistheFallenTest.
2011-12-24 19:25:28 +04:00
magenoxx
1b9f75f29b Several fixed in AI targeting. Fixed Issue 371. 2011-11-06 12:54:08 +03:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
BetaSteward
517a0cae26 optimizations + some fixes - mostly for monte carlo simulations 2011-10-25 15:17:42 -04:00
Loki
db30dbd5d6 fix server build 2011-10-23 18:49:32 +04:00
maurer.it
ed2724fce7 [FIX] The third half of the fix for issue 302 (still testing). 2011-10-21 08:07:21 -04:00
magenoxx
4c9574bd97 Fix for AI chooseTarget. 2011-10-12 17:30:32 +04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
magenoxx
bf1a49dd0b Sending user data. Sending avatar to server on connect. 2011-09-07 21:18:58 +04:00
North
66fe17a0e2 AI can play the effect of Sphinx of Uthuun now. 2011-08-27 18:10:06 +03:00
North
d48bcf6d06 Fixed AI choosing target with maxNumberOfTargets > 1.
Fixed chooseMode to return the first mode.
Refactored a bit.
2011-08-27 17:00:28 +03:00
BetaSteward
2e0662e295 cleanup 2011-08-19 22:19:09 -04:00
magenoxx
5018d88140 [ai] Fixed targeting opponents. Added additional type for removal spells (Outcome.DestroyPermanent). 2011-08-18 12:42:03 +04:00
magenoxx
a86d7cb762 Now AI would try to counter pick in draft very good cards out of chosen colors. 2011-08-18 11:29:10 +04:00
magenoxx
02e09831ad Now AI would try to get removal spells (getting additional points for them). 2011-08-18 11:07:21 +04:00
magenoxx
6e911e88fe Updated weight for card rating using by ai. 2011-08-17 08:22:00 +04:00
BetaSteward
ac5e4c0fec added duration to BecomesCreatureSourceEffect + refactored some cards 2011-08-09 22:41:24 -04:00
magenoxx
d33bf20bf0 Attackers sorting, Blocking groups - rule 509.3. Fixed Issue 195. 2011-08-02 21:32:05 +04:00
Loki
053c3a76e6 fix formula 2011-07-31 23:07:39 +03:00
Loki
5f74002205 picks file parsing and new cards ratings 2011-07-31 21:54:35 +03:00
BetaSteward
14d863a8f2 added modal abilities + Slagstorm 2011-07-20 13:42:27 -04:00
magenoxx
e8b228af1f Fixed Issue 122. Also fixes issue with searching cards with no actual option. 2011-07-06 08:55:32 +04:00
magenoxx
370d042858 Fixed MasterOfTheWildHunt, now target controller gets custom message while selecting targets to response. 2011-06-26 15:32:02 +04:00
BetaSteward
4dc0c33819 fixed issue 142 - damage assignment order now works with tokens 2011-06-17 23:41:32 -04:00
BetaSteward
f1558a255a implemented Damage Assignment Order 2011-06-16 23:02:24 -04:00
magenoxx
d5c4ac371a Now Planeswalkers use counters for loyalty. Fixed Issue 69. 2011-05-15 16:42:45 +04:00
BetaSteward
aed200bc11 improved AI targetting 2011-03-31 23:34:16 -04:00
BetaSteward
86d2086b70 added missing targeting cases 2011-03-14 21:57:27 -04:00
magenoxx
99735b368b New testing frameworks for cards. BurntheImpure test. 2011-03-10 15:27:15 +03:00
magenoxx
196f7a32d8 ComputerPlayer.#chooseTarget - needs to be implemented. 2011-03-08 12:07:52 +03:00
maurer.it
68fb0e9e3f merge. 2011-02-27 21:28:14 -05:00
maurer.it
103eb61051 Possible fix for Arc Trail Targetting. 2011-02-25 16:40:55 -05:00
BetaSteward
1945538041 added X cost options to AI 2011-02-24 22:01:04 -05:00
magenoxx
f1472d1fa4 Merge 2011-02-23 10:59:30 +03:00
magenoxx
3a11c59486 Fixed playXMana (no X=0, put everything to X). updated first scenario. 2011-02-23 10:50:42 +03:00
BetaSteward
17f87daf5a fixed issue with default AI playing unplayable spells 2011-02-22 21:40:25 -05:00
magenoxx
98ee9ff0c2 [mad ai] Critical AI fixes. Sync with Steward recent changes. New test command for lifes. New test scenarios. 2011-02-19 16:52:13 +03:00
BetaSteward
659f790325 AI fixes and deck construction 2011-02-18 23:22:31 -05:00
BetaSteward
0c5261ce88 fixed canTarget error and started to convert logging to log4j 2011-02-14 14:41:29 -05:00
BetaSteward
9e7c79f3e7 missed a file 2011-02-13 08:21:59 -05:00
magenoxx
e189543699 Fixed AI doesn't play spells that targets creatureOrPlayer. The fix applied to ai-ma only, other ai jar still needs to be recompiled. 2011-02-12 23:21:20 +03:00
BetaSteward
f7ffbb4773 added Sealed tournaments 2011-02-10 22:00:47 -05:00
Loki
d17fd869c3 some DDF reprints, moving continious effects to separate package 2011-02-09 23:11:52 +02:00
magenoxx
a1b2127962 Added options to gameclient target message. 2011-01-27 18:27:41 +03:00
magenoxx
982ee064a6 [draft] now computer chooses 2 or 3 card colors to draft starting from 3d pick. 2011-01-12 09:34:11 +03:00
magenoxx
41e2342540 [draft] AI picks based on card ratings. Added debug logging for a while. 2011-01-11 20:49:36 +03:00
magenoxx
08e0a075ad [mage.player.ai] Move src files to src/main/java. Added resources folder with ratings.txt. 2011-01-11 11:48:37 +03:00