Commit Graph

1086 Commits (877ebaae2db4d9d519a8673fb4fc29b40163ba88)

Author SHA1 Message Date
melvin 04af36e56d added enum of layers in preparation for more modular implementation of static effects 2011-07-16 11:18:45 +08:00
melvin 5e4ba554e4 use SwingWorker instead of custom thread for GameController 2011-07-16 10:50:47 +08:00
melvin f7fce7f353 wrapped long lines 2011-07-15 14:40:04 +08:00
melvin 6a5469c3ad added white space between operators 2011-07-13 17:17:12 +08:00
melvin f2fd7719cc removed empty lines 2011-07-13 17:12:45 +08:00
melvin d4a9677e28 removed empty lines 2011-07-13 17:05:30 +08:00
melvin f57b52a048 start MagicFrame using invokeLater 2011-07-13 17:01:35 +08:00
melvin c294dde926 removed old exp framework, added args2 2011-07-13 16:36:59 +08:00
melvin 97e269fd15 added index and life to debug output of MMAB 2011-07-13 14:39:12 +08:00
melvin f90b28c1a5 changed debugging output to follow MCTSAI 2011-07-13 10:54:23 +08:00
melvin 35473e7445 simplified debugging output 2011-07-13 10:47:14 +08:00
melvin 22c2c15775 moved debugging output into a separate method 2011-07-13 10:34:52 +08:00
melvin 42cf451fa5 store constants in MCTSAI, read from property if defined 2011-07-12 16:34:56 +08:00
melvin 41f3af4965 2 * player_index -1 used for library seed 2011-07-12 09:37:01 +08:00
melvin 267e4e91ee added player index to determine starting library, otherwise both players start with same library order 2011-07-11 22:40:34 +08:00
melvin 2e4c685a83 added script to evaluate different choice of MIN_SCORE 2011-07-11 22:31:13 +08:00
melvin 381052deff added early termination based on heuristic score 2011-07-11 22:30:20 +08:00
melvin 6a93b8af66 changed path of mtg-data and cards.xml to cards 2011-07-11 11:02:02 +08:00
melvin 3cfa82c1b5 remove cost of effect from the rule 2011-07-11 11:01:39 +08:00
melvin 6f2afd21e7 added more effects 2011-07-11 11:01:13 +08:00
melvin d1753c35e8 added svn of symbols 2011-07-09 14:09:09 +08:00
melvin 38627205af removed mtg-data.txt 2011-07-09 14:08:07 +08:00
melvin fb562d838a added lib to Makefile 2011-07-08 16:11:44 +08:00
melvin 10aa3a85bd added toString 2011-07-08 16:11:30 +08:00
melvin d9ef12d598 initalize next node to null instead of curr.first 2011-07-08 15:35:59 +08:00
melvin 03b4aa9140 replace this with index, create attachment local variable lazily 2011-07-08 13:17:32 +08:00
melvin c8274a06fc added getCard by index 2011-07-08 13:16:24 +08:00
melvin 3335a11271 added CONDS_MAP to cache the MagicCondition object created 2011-07-08 13:14:44 +08:00
melvin 40b03c4a26 removed empty lines 2011-07-08 13:14:13 +08:00
melvin 70ccca9200 store actId instead of activation reference 2011-07-08 13:13:58 +08:00
melvin ad9feec55e replaced cardDefinition with cardIndex 2011-07-08 13:13:35 +08:00
melvin 6d3552fac3 replace cardDefinition with cardIndex 2011-07-08 13:12:53 +08:00
melvin be84a50035 replaced cardDefinition with cardIndex 2011-07-08 13:06:23 +08:00
melvin 638df87fd4 replace cardDefinition in constructor with cardIndex 2011-07-08 13:05:56 +08:00
melvin 52ce5503d9 removed empty lines 2011-07-08 13:05:13 +08:00
melvin 14011a5211 wrapped long lines 2011-07-08 13:04:57 +08:00
melvin 9465c2819a store cardIndex instead of cardDefinition 2011-07-08 13:03:51 +08:00
melvin 21d6321af9 store cardIndex instead of cardDefinition 2011-07-08 13:03:14 +08:00
melvin 75d3e457c9 removed empty lines 2011-07-08 13:02:11 +08:00
melvin c04686e3c6 check for equality of activation id instead of equality of activation object 2011-07-08 13:01:35 +08:00
melvin efda7e123e ManaCostCondition created on the fly and not stored in object to remove circular reference 2011-07-08 13:00:56 +08:00
melvin 3f1153b070 changed activation id to long 2011-07-08 13:00:07 +08:00
melvin 688156ef74 added tests and incomplete code for Frost Titan's abilities 2011-07-06 17:06:39 +08:00
melvin 185873d2ac added WhenTargeted trigger 2011-07-06 17:00:19 +08:00
melvin 0c7b4b015e simplfied code 2011-07-06 16:24:29 +08:00
melvin 9c53b32069 added card Sun Titan 2011-07-06 16:20:36 +08:00
melvin 62d3f94d6f removed empty line 2011-07-06 16:19:52 +08:00
melvin d959e22f2c removed unnecessary import 2011-07-06 12:12:45 +08:00
melvin 4814e0e816 use local rng for shuffling 2011-07-06 12:11:19 +08:00
melvin a72315990d shuffle library based on rndSeed and MagicGame.num_games 2011-07-06 12:10:33 +08:00