Commit Graph

8090 Commits (0b67085985dff5e2cb7e3cc0f002bb3a69199f6d)

Author SHA1 Message Date
melvin 8c8bae6b40 show stateId in toString 2013-03-28 14:50:00 +08:00
sponeta fcf4d38b12 added more custom decks 2013-03-28 10:43:38 +08:00
melvin f7eeb94637 use getStateId instead of getId for MagicPermanent 2013-03-27 22:14:20 +08:00
melvin 6f69e6f0e3 move computation of fixedScore to updateScore as it depends on permanent's type 2013-03-26 22:32:58 +08:00
melvin 72a4e6da95 changed hash to handle zero length array like array of single 0 2013-03-26 21:47:00 +08:00
melvin 27244c5918 add all counters to state 2013-03-26 16:58:15 +08:00
melvin 4e8e20e763 always use stateId to initalize rng for random selection 2013-03-26 15:47:13 +08:00
melvin d192ba1afb use shuffle instead of creating rng 2013-03-26 15:38:11 +08:00
melvin 42f4191500 reduce whitespace 2013-03-26 15:37:54 +08:00
melvin 5eef8d992b added more elements to game state id computation 2013-03-26 14:19:28 +08:00
melvin 9369d28b4d remove private clear method, move implementation into constructor 2013-03-26 14:18:59 +08:00
melvin b2ecdf24b0 corrected whitespace 2013-03-25 16:50:08 +08:00
melvin 50b5b4e6be fixed whitespace 2013-03-24 22:25:58 +08:00
melvin acca7a3e89 unify names to getStateId for hash based id, add more items to state id computation 2013-03-24 21:10:00 +08:00
melvin dfc2ea84d2 make ai2 configurable 2013-03-24 20:12:22 +08:00
melvin 0030b436d3 change hard limit to level + 1 seconds 2013-03-24 20:12:07 +08:00
melvin 54f57d642f added MMAB2 for testing how AI changes affects AI performance 2013-03-24 09:59:36 +08:00
melvin 5c64c20260 MagicPayManaCostChoice.hasOptions should take into account current player delayed cost 2013-03-23 22:35:41 +08:00
melvin fe5e6f7b1c limit score to ignore difference between wins and loses, prefer to win early and lose later 2013-03-23 20:00:47 +08:00
melvin 781c07fe2a hasOptions should use hasResults 2013-03-23 18:18:07 +08:00
melvin 456d1a0ec0 added getChosenPlayer to avoid casting, improved card code for Venser to remove casting and branching 2013-03-23 14:30:23 +08:00
melvin 372719b5fd replace cast with getTargetPlayer 2013-03-23 14:24:25 +08:00
melvin 6a489186ff remove choiceResults 2013-03-23 14:07:28 +08:00
melvin 95929801d6 should be clearing choice of copy not the original card on stack 2013-03-23 13:29:45 +08:00
melvin d550210ee7 remove choiceResults from executeEvent 2013-03-23 13:00:53 +08:00
melvin 8faba795dc replace direct access to choiceResults with MagicEvent method 2013-03-23 11:28:20 +08:00
melvin b5a444f073 replace direct access to choiceResults with MagicEvent method 2013-03-23 10:50:55 +08:00
melvin f74e3d822d replace direct access to choiceResults with MagicEvent method 2013-03-23 10:37:42 +08:00
melvin b2160d0472 replace direct access to choiceResults with MagicEvent method 2013-03-23 10:29:09 +08:00
melvin 49b770ae57 replace direct access to choiceResults with MagicEvent method 2013-03-23 10:26:50 +08:00
melvin 158013d661 remove choiceResults from processTarget 2013-03-21 21:35:09 +08:00
melvin 03b97f8252 remove need to specify index of target 2013-03-20 21:42:19 +08:00
melvin 13360093e9 remove need to specify index of target 2013-03-20 21:39:53 +08:00
melvin 06aa4be6ab remove need to specify index of target 2013-03-20 21:36:49 +08:00
melvin 5f81aa4e7e remove need to specify index of target 2013-03-20 21:30:04 +08:00
melvin 006e73bf06 replace direct access to target with processTargetPermanent 2013-03-20 20:32:55 +08:00
melvin 04ed39f0e8 remove custom may description, improved event description 2013-03-20 20:23:32 +08:00
melvin 36e716ff7a remove unnecessary imports 2013-03-19 21:52:25 +08:00
melvin aad2d63dcd implement Soulbond as a Game trigger 2013-03-19 20:35:45 +08:00
melvin bd02283f7f use custom description for Soulbond's may choice 2013-03-19 13:30:28 +08:00
melvin 13389a1be6 fix description for groovy static compilation 2013-03-18 21:26:09 +08:00
melvin 12042e6aad convert from java code to groovy code 2013-03-18 21:19:29 +08:00
melvin dfea1daaaf convert from java code to groovy code 2013-03-18 21:19:12 +08:00
melvin a816c5b84e convert from java code to groovy code 2013-03-18 21:18:20 +08:00
melvin 61b73dece1 convert from java code to groovy code 2013-03-18 21:17:00 +08:00
melvin 3e3a217747 convert from java code to groovy code 2013-03-18 21:16:29 +08:00
melvin 16f5fa8cdd convert from java code to groovy code 2013-03-18 21:11:35 +08:00
melvin 65e989e4c9 convert from java code to groovy code 2013-03-18 21:11:22 +08:00
melvin da5fd417c7 convert from java code to groovy code 2013-03-18 21:11:10 +08:00
melvin c624a6a079 convert from java code to groovy code 2013-03-18 21:11:00 +08:00