Commit Graph

871 Commits (887e8d511ed258c278dbbe1deb48714447c7084c)

Author SHA1 Message Date
melvin 985394457a increased MAX_ACTIONS to 10000, commented out debug output when adding nodes to cache 2011-06-17 13:11:46 +08:00
melvin 14aedc0b38 added additional factors to include in hash 2011-06-17 13:10:36 +08:00
melvin db70d2f77f store game log in .log file 2011-06-17 12:57:09 +08:00
melvin 3ee9a84dcd added mcts6 suffix to output 2011-06-17 12:29:43 +08:00
melvin 21fcb13cba count number of actions performed instead of number of events, more fine grained 2011-06-17 11:48:15 +08:00
melvin 9dbc723f7a remove events executed, count number of actions performed instead, made printing of idstring dynamic instead of hardcoded, added factors stored in MagicMarkerAction 2011-06-17 11:47:27 +08:00
melvin 26d9fc1c5a made all members in MagicActivationPriority private and added getters and setters 2011-06-17 11:45:11 +08:00
melvin edefb578e5 activation priority is copied when MagicPlayer is copies and used for computing the hash 2011-06-17 11:44:21 +08:00
melvin 6d099a9867 removed some empty lines 2011-06-17 11:43:33 +08:00
melvin 5a3bcb81ad increament activationId using a method call instead of doing it directly 2011-06-17 11:09:51 +08:00
melvin be196aaae1 set MagicGames created for AI testing to artifical 2011-06-17 10:37:45 +08:00
melvin efe5f69e11 fixed comments 2011-06-17 10:37:11 +08:00
melvin 37e8f123e1 removed some empty lines 2011-06-17 10:36:56 +08:00
melvin 17f43a00e6 restored getPlayerId(id) and simplified getPlayerId 2011-06-17 10:36:34 +08:00
melvin 36914fb564 added setArtificial to MagicGame 2011-06-17 10:36:03 +08:00
melvin 55af4dfb0c removed index added builderCost.getMinimumAmount to player hash 2011-06-16 21:51:29 +08:00
melvin b6801b39d0 make sure both players are set to artifical in test game 2011-06-16 21:46:22 +08:00
melvin fd5ee781dc removes some empty lines, wrapped some long lines 2011-06-16 21:37:34 +08:00
melvin 83771f31a5 remove hardcoded index in enums, use ordinal instead 2011-06-16 21:34:47 +08:00
melvin fa1f2ae0a4 replace getIndex with ordinal 2011-06-16 21:10:13 +08:00
melvin 4bd2f7579f use ordinal instead of hashcode for phase and step, print name instead of hashcode for idstring 2011-06-16 21:09:48 +08:00
melvin 0eb3b14dc7 removed println 2011-06-16 21:00:12 +08:00
melvin 7716b4d558 simplfied enum 2011-06-16 20:58:28 +08:00
melvin 3dcca6cb1f removed some empty lines 2011-06-16 20:51:09 +08:00
melvin 89a8698438 simplified getIndex 2011-06-16 20:50:14 +08:00
melvin ce1a28bcc8 removed some empty lines 2011-06-16 20:49:49 +08:00
melvin f41222f1ae removed some empty lines 2011-06-16 20:49:33 +08:00
melvin 6e860693bc simplified isMain and getIndex 2011-06-16 20:49:14 +08:00
melvin 976e66abb9 moved comments to before the enum 2011-06-16 20:48:53 +08:00
melvin ea0703f5cb removed some empty lines 2011-06-16 20:48:28 +08:00
melvin 9711281fc4 enabled checkNode 2011-06-16 17:41:39 +08:00
melvin e80a9324c1 removed score from toString 2011-06-16 17:41:27 +08:00
melvin 31269d9179 changed debug message 2011-06-16 17:25:01 +08:00
melvin 903697dceb removed owner and controller from hash 2011-06-16 17:20:03 +08:00
melvin 8d4e5a904a removed eventsExecuted from gameId 2011-06-16 17:07:07 +08:00
melvin 6a7ec7c723 removed some empty lines 2011-06-16 17:06:30 +08:00
melvin edd978e064 wrapped long lines, added player index to MagicEvent.toString 2011-06-16 17:06:15 +08:00
melvin 8c29a18188 Added MMABC, the version of MMAB that can see all cards 2011-06-16 15:44:07 +08:00
melvin 310eabfe60 print path leading to node 2011-06-16 15:12:14 +08:00
melvin 19bbebc3c1 updated getGameId 2011-06-16 15:11:24 +08:00
melvin 320ea58050 added controller and owner index to hash input 2011-06-16 15:09:33 +08:00
melvin 72217fc41e store input to hash in keys member variable for printing with getPlayerIdString 2011-06-16 15:09:14 +08:00
melvin 5fa3e87435 during simulation use delayed pay mana cost 2011-06-16 15:07:52 +08:00
melvin de0bc86c46 changed exception to assertion 2011-06-16 15:06:58 +08:00
melvin f2a13d507c removed some empty lines 2011-06-16 15:06:00 +08:00
melvin 2f27745ddc removed some empty lines 2011-06-16 15:05:35 +08:00
melvin 1af033ca60 combined log ouput, added isCached to each node to avoid compute gameId and checking the cache 2011-06-16 12:17:26 +08:00
melvin d49c4134a8 wrapped long lines, added more whitespace to expression 2011-06-16 12:16:41 +08:00
melvin 3db5554d93 renamed passPriority to skipTurn, removed some empty lines and changed System.exit to asserts 2011-06-16 12:15:47 +08:00
melvin 6009782b2b added card.getId to input to hash 2011-06-16 12:14:46 +08:00