Commit graph

956 commits

Author SHA1 Message Date
magenoxx
b5032226f4 Showing already chosen cards in choice dialog 2012-06-27 18:44:03 +04:00
magenoxx
d344d2315d mistype on previous commit 2012-06-27 16:18:44 +04:00
magenoxx
e702329003 Increased planeswalker card value for AI 2012-06-27 16:16:53 +04:00
magenoxx
ead0106d65 Fix strange rebase 2012-06-20 11:22:37 +04:00
magenoxx
e90ce893c5 Changes in state evaluation (permanents more valuable). Fix in combat blocking. 2012-06-20 11:19:22 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
magenoxx
77ecea1253 Combat NPE fix for mad ai 2012-06-17 13:12:36 +04:00
magenoxx
be06cb7790 Removed .iml files 2012-06-14 19:49:57 +04:00
magenoxx
5be6f78d59 Adding writting amount of mana payed for {X} cost 2012-06-12 10:38:39 +04:00
magenoxx
7445876ec5 Fixed AI target choosing. +1 test passed. 2012-06-03 18:41:58 +04:00
magenoxx
4e0a5c65e3 Fixed AI attacking not causing attack triggers 2012-05-29 09:09:38 +04:00
magenoxx
12b21abe52 changed version from 0.8.5 to 0.8.6 2012-05-25 19:04:40 +04:00
magenoxx
32e29392d2 [AVR] Second Guest + tests. Refactored filters. 2012-05-24 09:01:31 +04:00
magenoxx
a47b8c25df Various fixed. +3 tests passed. 2012-05-24 00:24:01 +04:00
magenoxx
29b7f9ab9b Fix. +2 tests passed. 2012-05-23 21:45:37 +04:00
magenoxx
082a1fcb64 minor changes 2012-05-22 19:21:03 +04:00
magenoxx
3822e0d09b Soulbond keyword 2012-05-17 09:51:08 +04:00
magenoxx
aa224dee2f Fixed NPE in mad ai 2012-05-09 11:24:49 +04:00
magenoxx
fa0e623120 changed version from 0.8.4 to 0.8.5 2012-05-07 07:50:07 +04:00
Loki
95e4ef4ff8 [mad ai] removed dynamic aggression calculation for now. doesn't work correctly 2012-05-06 23:40:38 +03:00
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +04:00
magenoxx
655a84a65f [mad ai] more code for attack 2012-04-12 20:48:21 +04:00
magenoxx
f0be9c35d7 Moved skipping initial shuffling to game options. 2012-04-07 11:52:31 +04:00
magenoxx
deb6533bd8 [mad ai] emulating block declaration. safe block. (in progress) 2012-03-26 22:04:31 +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
magenoxx
3875c1f7c0 Changed component version from 0.8.3 to 0.8.4 (dev) 2012-03-25 12:16:46 +04:00
magenoxx
0d8c533542 [mad ai] blocking (in progress) 2012-03-21 22:52:04 +04:00
magenoxx
d3080aa66f [mad ai] CombatUtil 2012-03-16 12:09:34 +04:00
magenoxx
f5acfcc58a [mad ai] migrating to static attack\block algorithm 2012-03-15 20:37:02 +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
Loki
e61ad860b1 remove project file 2012-02-08 13:01:13 +04: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
d813283c19 adding back recent changes - not quite sure how I managed to revert all this 2012-02-02 23:48:25 -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
Loki
f793664aba remove invalid autogenerated card 2012-01-30 12:13:11 +04:00
BetaSteward
d641a6de72 update MCTS + removed from config.xml 2012-01-27 21:40:33 -05:00
BetaSteward
7fce6c552d fixes + optimizations + updates to monte carlo ai 2012-01-24 22:51:31 -05:00
BetaSteward
23616432e4 fixed ConcurrentUpdateException with multi-threaded ai 2012-01-24 22:50:18 -05:00
BetaSteward
377dd54fca single-threaded monte carlo + some fixes 2012-01-16 18:55:35 -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
eb0bc89597 Tree optimizers. Fixed Issue 420. 2011-12-26 12:52:31 +04:00
magenoxx
d004525027 Test for equip ability. 2011-12-24 20:15:03 +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
53e9d2752b Fixed combat actions in MAD AI. Updated tests. 2011-12-24 18:45:13 +04:00
magenoxx
dc2ebdd16d Some tests fixes. Returned back checking for repeated action with the fix. 2011-12-24 12:34:00 +04:00
magenoxx
af05af7050 Fixed Issue 441. 2011-12-11 15:53:34 +04:00
magenoxx
ba6508cbeb Updated component version from 0.8.1 to 0.8.2. 2011-12-09 13:15:07 +04:00
BetaSteward
c280a6653a added missing class 2011-12-02 08:08:39 -05:00
BetaSteward
84035ea849 multi-threaded monte carlo AI 2011-12-01 14:51:56 -05:00
BetaSteward
4651d68f95 fixed infinite loop with certain cards 2011-11-23 09:54:18 -05:00
BetaSteward
c902998fa0 fixed monte carlo NPE's 2011-11-22 13:56:00 -05:00
BetaSteward
ec297c243c fixed shuffle event 2011-11-22 10:59:53 -05:00
magenoxx
8b67158fdb Fixed Issue 350. 2011-11-16 18:56:23 +04:00
magenoxx
58b959ff65 Fixes in MAD ai. 2011-11-16 10:44:55 +04:00
magenoxx
60b6fe5a79 Changes in testing framework. Added support for fixed targets. Added test to damage itself by Lightning Bolt. Ignored some old tests. 2011-11-15 19:43:37 +04:00
magenoxx
a3d590fc79 Updated test framework with minimum functionality. 2011-11-15 16:01:34 +04:00
magenoxx
1f94c38cb0 Added FIXME comment to MCTS. Should be fixed later. 2011-11-15 09:17:45 +03:00
magenoxx
1b9f75f29b Several fixed in AI targeting. Fixed Issue 371. 2011-11-06 12:54:08 +03:00
Loki
d587714138 Contagion Clasp - target is required 2011-11-05 21:53:41 +04:00
magenoxx
0a300cf610 fixed wrong artifactIds used in pom.xml 2011-11-05 11:42:28 +03:00
magenoxx
49a38e06f6 fixed build 2011-11-05 10:29:10 +03:00
BetaSteward
c508f07910 added monte carlo AI - still needs some work 2011-11-04 23:02:32 -04:00
BetaSteward
a1f1ed44c0 adjustment to GameState.getValue 2011-11-04 22:57:50 -04:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
Loki
a004ced17d artifactId to lowercase 2011-10-28 15:42:54 +04:00
magenoxx
e302a12f5d Updated component's version from 0.8 to 0.8.1
manually
2011-10-28 11:36:42 +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
6933c5a9f3 Added the possibility to force AI to play cards in cheat mode. 2011-10-19 19:13:51 +04:00
magenoxx
3350c3e829 Updated components' version from 0.7.6 to 0.8 2011-10-16 21:02:04 +04:00
maurer.it
e0fb91f380 Fixed issue 212, created a getter for the copiedSpell member to use in the copied spells resolution of the rebound effect. 2011-10-13 22:34:03 -04:00
maurer.it
e25233d352 Never meant to checkin my changes for AI goofing around 2011-10-13 10:51:11 -04:00
maurer.it
27d5efaed4 merge 2011-10-12 12:15:18 -04:00
magenoxx
a81dde0cdb Some more fixed in choosing targets. 2011-10-12 20:03:34 +04:00
magenoxx
3cadbeb68b Some fixes for targeting (this bug caused game freezes). 2011-10-12 19:39:58 +04:00
magenoxx
4c9574bd97 Fix for AI chooseTarget. 2011-10-12 17:30:32 +04:00
BetaSteward
f2c44688d0 fixed issue 93 2011-10-09 14:27:38 -04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
magenoxx
b3ac9c2f87 Fixed Issue 271 2011-10-05 00:56:11 +04:00
magenoxx
fc275e7e5e updated message for picking triggered abilities 2011-09-22 19:31:30 +04:00
BetaSteward
4b8d7b2649 NPH - Praetors Grasp 2011-09-19 14:51:10 -04:00
magenoxx
2d8948b8f6 Changed version from 0.7.5 to 0.7.6 2011-09-18 13:57:43 +04:00
BetaSteward
8c011aeb36 fixed invalid deck messages + added some banned/restricted cards 2011-09-12 22:10:59 -04:00
magenoxx
bf1a49dd0b Sending user data. Sending avatar to server on connect. 2011-09-07 21:18:58 +04:00
BetaSteward
ea44fc973f added timeout on sideboard + show construct and/or sideboard on reconnect 2011-09-03 21:44:05 -04:00
magenoxx
0fbc805492 Lowered version from 0.8 to 0.7.5 for release. 2011-09-02 08:18:49 +04:00
BetaSteward
19481bf961 fixed issue 94 2011-08-28 22:10:05 -04:00
North
766a412e67 Added missed branch code for issue 224 2011-08-29 01:30:58 +03:00
North
24c4b3d6c8 Fixes Issue 224 2011-08-28 23:55:32 +03:00
magenoxx
3aa947c14b Sending options for another variant of target method - to replace Cancel by Done 2011-08-28 20:26:02 +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
magenoxx
b7d11c723c Playing top card. 2011-08-27 16:30:39 +04:00
North
030cc64c4f [M12] Sphinx of Uthuun, [INV] Fact or Fiction 2011-08-27 13:42:45 +03:00
BetaSteward
5023d13525 fixed some NPEs 2011-08-24 21:42:06 -04:00
BetaSteward
2e0662e295 cleanup 2011-08-19 22:19:09 -04:00
magenoxx
3f4ed0a919 Fixed choosing replacement effects for similar effects (didn't ask to choose); 2011-08-18 18:54:52 +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
magenoxx
5d19c9cfee Displaying "Done" button instead of "Cancel" for "target up to" effects 2011-08-12 17:39:36 +04:00
BetaSteward
ac5e4c0fec added duration to BecomesCreatureSourceEffect + refactored some cards 2011-08-09 22:41:24 -04:00
magenoxx
a6c3e03885 Fixed in setting priority. 2011-08-05 19:46:02 +04:00
magenoxx
b562f57a5c Fixed in controlling the turn. Mindslaver works now. 2011-08-05 16:49:13 +04:00
magenoxx
ed3f96c668 New ConditionalMana support. 2011-08-04 18:10:57 +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
84b9cbb16b this is a big one - fixed modal targetting and refactored getText() 2011-07-21 22:04:08 -04:00
BetaSteward
14d863a8f2 added modal abilities + Slagstorm 2011-07-20 13:42:27 -04:00
BetaSteward
9ddea9d9c5 Merge with version 0.8 2011-07-17 15:49:38 -04:00
magenoxx
1091fc3cbe removed debug logging 2011-07-06 08:56:29 +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
34cd3bbcdc fixed version 2011-06-22 22:32:33 -04:00
BetaSteward
a8b8d36637 updated pom files 2011-06-22 22:12:14 -04:00
BetaSteward
4dc0c33819 fixed issue 142 - damage assignment order now works with tokens 2011-06-17 23:41:32 -04:00
BetaSteward
a0192c0e47 fixed issue 160 2011-06-17 10:29:50 -04:00
BetaSteward
f1558a255a implemented Damage Assignment Order 2011-06-16 23:02:24 -04:00
magenoxx
97eea533f3 updated version (from 0.7.3 to 0.7.4) in all pom files 2011-06-16 11:39:20 +04:00
magenoxx
eb91d50f26 some changes in eval func for tapped permanent 2011-06-06 22:34:24 +04:00
magenoxx
84b79000ff Phyrexian mana support. NPH: Mutagenic Growth, Dismember. 2011-05-29 23:12:21 +04:00
BetaSteward
3115ee3c5c Added deck types 2011-05-27 23:04:48 -04:00
BetaSteward
ecbd843fb7 fixed some NPEs with AIs 2011-05-24 23:47:19 -04:00
magenoxx
74c7feb470 Moved version to 0.7.3 in pom files. 2011-05-19 23:49:43 +04:00
magenoxx
d5c4ac371a Now Planeswalkers use counters for loyalty. Fixed Issue 69. 2011-05-15 16:42:45 +04:00
magenoxx
430802d248 Fixed NPE that was thrown when choosing player while paying mana abilities 2011-05-10 17:24:37 +04:00
BetaSteward
c87328d08e skill setting is now used by AIs 2011-05-07 23:16:00 -04:00
BetaSteward
86f708b17a detect client version + client changes for AI skill level 2011-04-28 22:52:52 -04:00
BetaSteward
84c6ab76e0 update to version 0.7 2011-04-01 21:05:43 -04:00
BetaSteward
aed200bc11 improved AI targetting 2011-03-31 23:34:16 -04:00
BetaSteward
8287364f77 more optimizations 2011-03-24 00:09:07 -04:00
BetaSteward
5c39d9e884 fixed issue 37 2011-03-18 21:45:50 -04:00
BetaSteward
86d2086b70 added missing targeting cases 2011-03-14 21:57:27 -04:00
BetaSteward
0668548f4f more AI fixes - dont use x=0 for activated abilities 2011-03-10 22:07:13 -05:00
BetaSteward
42509dd4f8 optimizations + leave game fix 2011-03-10 22:05:15 -05: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
BetaSteward
6982608043 more AI fixes 2011-03-07 22:59:55 -05:00
maurer.it
194a454f86 merge 2011-03-05 21:35:00 -05:00
magenoxx
e44d8482af Applied AI fix to ComputerPlayer6. 2011-03-06 02:18:28 +03:00
BetaSteward
7e00b5cc25 AI fix - better time out support 2011-03-04 21:54:45 -05:00
maurer.it
141529c1e8 merge 2011-03-02 09:12:13 -05:00
magenoxx
91c51b28c9 Merge 2011-02-28 22:56:45 +03:00
magenoxx
6e913cf24b Migrated minimax hybrid AI to Mad AI. Reproduced AI not attacking, added 2 new test scenarios that reproduce it. 2011-02-28 14:23:59 +03:00
maurer.it
68fb0e9e3f merge. 2011-02-27 21:28:14 -05:00
magenoxx
422be868ff ComputerPlayer2 NullPointerException fix. 2011-02-28 00:30:14 +03:00
BetaSteward
a81e6da37c a few more AI tweaks 2011-02-26 00:16:04 -05:00
BetaSteward
bc3acccf2c fixed first turn draw skip 2011-02-26 00:15:15 -05:00
maurer.it
103eb61051 Possible fix for Arc Trail Targetting. 2011-02-25 16:40:55 -05:00
magenoxx
e9c2decd3c Merged X value changes. Some UI fixes. 2011-02-25 20:54:54 +03: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
BetaSteward
85e1f68554 another AI fix 2011-02-21 00:20:36 -05:00
magenoxx
ea847e791b [mad ai] getBlockers ConcurrentModification fix 2011-02-19 16:59:04 +03: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
magenoxx
97a83998eb [mad-ai] Fixed not using combat and post combat main phases. 2011-02-18 00:17:55 +03:00
magenoxx
27420f784c [mad-ai] Fixed AI. Now plays spells more often. 2011-02-17 23:55:22 +03:00
BetaSteward
0c5261ce88 fixed canTarget error and started to convert logging to log4j 2011-02-14 14:41:29 -05:00
magenoxx
366401b0b2 Updated Game interface to skip drawing. Added parsing test scenarios and updating players' zones. 2011-02-14 20:49:16 +03:00
BetaSteward
121a920c85 fixed AI swallowing exceptions 2011-02-13 08:22:35 -05:00
BetaSteward
9e7c79f3e7 missed a file 2011-02-13 08:21:59 -05:00
BetaSteward
fabcc28e46 more draft/sealed fixes 2011-02-13 08:20:14 -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
magenoxx
424ecde6e3 Previous comment wasn't full: added error handling. Fixed PlayerImpl, added work around to BoostPowerXSourceEffect. Fixed some bugs in AI. 2011-02-12 11:48:01 +03:00
magenoxx
4b2a9cd203 PlayerImpl fix 2011-02-12 11:46:20 +03:00
BetaSteward
d217d332b6 added sorting and counts to deck editor 2011-02-11 22:57:22 -05:00
magenoxx
f36254445a [ai-ma] renamed classes (otherwise classloader uses another classes), added additional logging. 2011-02-11 20:37:08 +03:00
BetaSteward
f7ffbb4773 added Sealed tournaments 2011-02-10 22:00:47 -05:00
magenoxx
3521b7d89f Added "AI vs AI" test. Removed clientside tests. 2011-02-10 18:38:44 +03:00
Loki
d17fd869c3 some DDF reprints, moving continious effects to separate package 2011-02-09 23:11:52 +02:00
magenoxx
bda75873de Started working on new ai. 2011-02-07 21:14:50 +03:00
BetaSteward
ffc7b5bfd8 added tournaments - drafts are now a variant of tournament 2011-02-06 11:09:25 -05:00
magenoxx
f6b812bce1 Updated to version 0.6. Fixed and updated rate plugin. 2011-01-30 10:42:35 +03: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
af61a07f71 [mage.player.ai] Updated pom. 2011-01-11 11:48:58 +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
BetaSteward
c79758f0e5 added deck construction to draft 2011-01-09 23:33:22 -05:00
BetaSteward
03e3be90d6 draft stuff 2011-01-08 23:54:32 -05:00
BetaSteward
7bea472fff initial drafting stuff 2011-01-03 23:52:28 -05:00
BetaSteward
e460b9af20 fixed some match problems 2010-12-29 15:00:18 -05:00
BetaSteward
4b26727d71 changes to support multi-duel matches and sideboarding 2010-12-28 23:34:06 -05:00
BetaSteward
6ae4ac3c5e changes to support matches 2010-12-26 00:34:34 -05:00
BetaSteward
04ab3e11b6 fixes and new files 2010-12-21 23:26:51 -05:00
BetaSteward
66d3ad1b15 updated poms with new version 2010-12-21 23:25:54 -05:00
BetaSteward
d6c30e3734 fixed AI - will now attack if opponent has no defenders 2010-12-13 00:01:35 -05:00
BetaSteward
b2d9c3b344 fixes 2010-12-09 04:55:01 +00:00
BetaSteward
139faeb7a5 fixes + adjusted minimax AI 2010-12-07 05:03:35 +00:00
BetaSteward
ba937e4771 fixed issue 47 2010-12-06 04:48:06 +00:00
BetaSteward
2044b00a99 fixed issue 46 2010-12-05 23:55:54 +00:00
BetaSteward
632775c617 fixed issue 39 2010-12-05 02:40:13 +00:00
BetaSteward
89a2e01068 moved Server plugins to their own folder 2010-12-04 02:04:23 +00:00
BetaSteward
b131b836a1 ... 2010-12-03 19:05:41 +00:00