Commit graph

286 commits

Author SHA1 Message Date
LevelX2
7d2b1c076a * Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa). 2014-06-20 14:19:03 +02:00
North
1867a150c1 [refactor] removed generic parameter from Player 2014-06-03 11:19:49 +03:00
LevelX2
77fb744991 Set for simulated games of the AI the simulation flag (please report if this causes any problems). 2014-06-02 08:32:22 +02:00
LevelX2
473c9e207b Fixed (probably) the player1 concedes but other player2 wins. Fixed that if player runs out of timer time or player lose of beeing idle, the match will end correctly. 2014-05-01 19:34:52 +02:00
LevelX2
abfe517c17 * AI player - Fixed a problem that AI uses Sphinx of Jwar Isle ability in an endless loop. 2014-04-30 07:15:01 +02:00
LevelX2
27d441de0a Minor changes to AI logging. 2014-03-24 08:33:07 +01:00
LevelX2
8d2f4cc9ac * Draft - Added "Quit Tournament" button to draft panel. Minor formatting. 2014-02-28 17:47:27 +01:00
LevelX2
8491b5b90b * Cleanup of server memory handling - removed memory leaks for Chat, Player, Match, Game etc. 2014-02-21 01:13:27 +01:00
LevelX2
1f3687cc86 Switched to binary/source format java 1.7. 2014-02-18 17:35:32 +01:00
LevelX2
ad71ec6aad Set Version 1.3.0. 2014-01-25 15:55:39 +01:00
LevelX2
2708916cd6 * Logging - Changed logging of gameStateEvaluator2. 2013-12-31 12:59:07 +01:00
LevelX2
d094f291aa Pushed version to 1.2.0dev. 2013-10-26 13:01:31 +02:00
Backfir3
ccc0bf4b6d Fix missing parameter in after Odric Master Tactician commit 2013-08-06 22:44:04 +02:00
LevelX2
0d37d1593b * Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric. 2013-08-06 18:26:49 +02:00
LevelX2
7d0cf3cd8c Set version to 1.1.0 dev. 2013-07-21 22:52:25 +02:00
North
0bb110be45 [refactor] moved enums from Constants class 2013-06-16 12:28:10 +03:00
LevelX2
5addb63757 * Changed indestructible to an ability according M14 rule change. Also fixed that for indestructible permanents the DESTROY_PERMANENT event was triggered what led to bugs with abilities like Totem Armor. 2013-06-15 17:57:01 +02:00
LevelX2
5336d4c0f9 Pushed version to 1.0.3 dev. 2013-05-12 16:00:25 +02:00
LevelX2
6b38cd5b18 Mage Version 1.0.2 2013-05-11 23:06:30 +02:00
LevelX2
caff4ba2fe Changed a log level of AI log statement. 2013-05-11 20:48:03 +02:00
jeffwadsworth
f6d97367fc - Added some Dragon Maze cards. 2013-05-02 16:37:21 -05:00
jeffwadsworth
ad99fcad23 - Added some Dragon Maze cards. Improved AI attacking with flying creatures. 2013-05-01 16:00:49 -05:00
jeffwadsworth
4feb0638bd - Added Ruric Thar, the Unbowed. Little fix. 2013-05-01 11:15:53 -05:00
jeffwadsworth
111f198f3d - Added some cards. AI will no longer attack with creatures at 0 power. 2013-05-01 10:27:48 -05:00
North
a3411f2486 [cleanup] removed unused imports 2013-04-19 20:01:10 +03:00
magenoxx
97acebacdd Pumped version to 1.0.2.dev 2013-04-01 16:00:30 +04:00
magenoxx
29b84e0d92 Closed #169: Make it possible to untap lands 2013-03-29 20:35:16 +04:00
LevelX2
dcacb90ba9 Optimized the AI-ScoringSystem for enchantments. 2013-03-15 16:00:44 +01:00
LevelX2
65a7049d02 Optimizes optimizeOptions of AI. 2013-03-15 15:58:44 +01:00
LevelX2
9450074b70 Changed AI X costs handling according human handling. Fixed AI handling of modal spells. Changed some AI setting. Changes to AI lgging. 2013-03-14 23:55:14 +01:00
LevelX2
8759db2fd6 [minor] formating. 2013-03-12 21:55:32 +01:00
LevelX2
cb43a58290 Some changes to AI logging. 2013-03-12 17:31:22 +01:00
North
a7a565bb8f [minor] access modifer order 2013-03-10 14:53:02 +02:00
LevelX2
aa0290fd32 Set Version to 1.0.1 2013-03-10 11:40:56 +01:00
LevelX2
88b2b9546a [minor] changes to logging 2013-03-06 17:21:12 +01:00
North
a327668660 fixed possible NPEs 2013-03-02 18:02:09 +02:00
North
5f6f1c7528 [minor] removed unused imports 2013-03-02 18:02:02 +02:00
magenoxx
5577d5b3a8 Changed version from 0.10.1 to 1.0.0 2013-02-26 14:11:00 +04:00
LevelX2
0aa218f6ea Minor changes to logging of ComputerPlayer. 2013-02-26 08:28:36 +01:00
LevelX2
0af121c3e4 Some more changes to logging of ComputerPlayer. 2013-02-22 08:40:32 +01:00
LevelX2
d5989b32fd Minor changes to the logging of ComputerPlayer. 2013-02-21 17:05:35 +01:00
LevelX2
f75575f99b Samll changes to ComputerPlayer logging, FromZone Pick for CardImpl added. 2013-02-21 01:22:10 +01:00
LevelX2
768cf365b9 Some more changes to the logging messages of ComputerPlayer. 2013-02-21 00:07:43 +01:00
LevelX2
1f3dea13af Some formating and logging changes to ComputerPlayer. 2013-02-20 17:35:30 +01:00
LevelX2
ca2480dda0 Added AI ability values for Evolve and Extort. 2013-02-15 00:26:41 +01:00
jeffwadsworth
71d01ce9e5 - Another fix for AI blocking. This should work better. 2012-12-31 12:26:27 -06:00
Loki
aa31ef23d3 bump version to 0.10.1 2012-12-28 12:48:26 +13:00
jeffwadsworth
9ac5a1d47e - Simplified blocking. Freezes should no longer occur. 2012-12-23 21:12:44 -06:00
North
f0b32e7ca3 Removed unused imports 2012-12-20 00:26:21 +02:00
Loki
f017ab903c version bump to 0.10.0 2012-11-15 22:47:15 +13:00
jeffwadsworth
8dcfead462 - Attempt to fix the AI attacking with your creatures. Small enchancements to AI attacking. 2012-11-08 11:57:13 -06:00
jeffwadsworth
ad035f1e47 - Blocking by the AI should no longer freeze. Please post any errors. Small attack AI adjustments. 2012-11-07 14:58:26 -06:00
jeff
1d7e9e55be - AI will now block and attack a little more sanely. The sim methods are not working right now, so they were commented out. 2012-11-03 21:34:32 -05:00
North
7e5b677647 Added UnblockableSourceEffect; Unblockable isn't Singleton anymore 2012-09-07 00:38:24 +03:00
North
204d2410a1 Reimplemented Indestructable using a replacement effect 2012-09-05 00:01:08 +03:00
Loki
46ec86b54c 0.9.2 dev 2012-09-04 21:24:44 +12:00
magenoxx
1454cbb3c8 Fixed Issue#39: Vile Rebirth or Revive always fizzles when cast by AI 2012-08-31 14:31:13 +04:00
magenoxx
cc4d772483 Fixed Issue#53: AI casts Rancor, but Rancor goes to graveyard 2012-08-31 13:46:29 +04:00
North
73642f6649 Added default configuration for ai-ma.
Now it can be loaded as runtime dependency.
2012-08-26 18:55:23 +03:00
Loki
85b31df2d5 Bump version to 0.9.1dev 2012-08-14 15:28:06 +12:00
magenoxx
c97d5e8a35 AI enhancements 2012-08-03 16:53:01 +04:00
magenoxx
eefedc03b9 [AI] enhanced targeting. card fixes 2012-07-29 10:31:46 +04:00
magenoxx
2200fb8572 [AI] Improvements on repeating actions 2012-07-29 08:56:35 +04:00
North
5d0a832642 cleaned pom files and updated sqlight dependency 2012-07-19 21:15:09 +03:00
magenoxx
23a75c39ba [M13] Odric Master Tactician 2012-07-18 20:45:39 +04:00
magenoxx
b2cd3e75bd changed version from 0.8.7.dev to 0.9.0.dev 2012-07-18 15:59:07 +04:00
North
d66c172952 [filters] Refactored FilterAbility to use Predicates
FilterAbility isn't used anywhere. I only noticed after I finished rewriting it. I'll keep the class in the repository just in case someone would need it.
2012-07-15 16:58:01 +03:00
magenoxx
5541fe4163 updated version from 0.8.6.r5 to 0.8.7 2012-06-29 14:56:13 +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
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
082a1fcb64 minor changes 2012-05-22 19:21:03 +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
655a84a65f [mad ai] more code for attack 2012-04-12 20:48:21 +04:00
magenoxx
deb6533bd8 [mad ai] emulating block declaration. safe block. (in progress) 2012-03-26 22:04:31 +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
d813283c19 adding back recent changes - not quite sure how I managed to revert all this 2012-02-02 23:48:25 -05:00
BetaSteward
23616432e4 fixed ConcurrentUpdateException with multi-threaded ai 2012-01-24 22:50:18 -05:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05: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
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
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
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
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
BetaSteward
f2c44688d0 fixed issue 93 2011-10-09 14:27:38 -04:00
magenoxx
2d8948b8f6 Changed version from 0.7.5 to 0.7.6 2011-09-18 13:57:43 +04:00
magenoxx
0fbc805492 Lowered version from 0.8 to 0.7.5 for release. 2011-09-02 08:18:49 +04: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
34cd3bbcdc fixed version 2011-06-22 22:32:33 -04:00
BetaSteward
a8b8d36637 updated pom files 2011-06-22 22:12:14 -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
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
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
magenoxx
e44d8482af Applied AI fix to ComputerPlayer6. 2011-03-06 02:18:28 +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
magenoxx
e9c2decd3c Merged X value changes. Some UI fixes. 2011-02-25 20:54:54 +03: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
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
magenoxx
366401b0b2 Updated Game interface to skip drawing. Added parsing test scenarios and updating players' zones. 2011-02-14 20:49:16 +03: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
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
magenoxx
bda75873de Started working on new ai. 2011-02-07 21:14:50 +03:00