Commit Graph

681 Commits (6dbd2a8211462b01ca96b98318a5773ac511ab39)

Author SHA1 Message Date
melvin 6dbd2a8211 removed some empty lines 2011-06-17 14:54:52 +08:00
melvin 673a18cd10 removes some empty lines 2011-06-17 14:54:34 +08:00
melvin ac53056117 improve readability 2011-06-17 14:54:20 +08:00
melvin 055e2a7b80 improve readability 2011-06-17 14:53:48 +08:00
melvin 4b82e7e489 wrapped long lines 2011-06-17 14:18:00 +08:00
melvin eb6ecf3cee adjusted whitespace 2011-06-17 14:04:08 +08:00
melvin 155dfaafa0 wrapped long lines 2011-06-17 14:02:32 +08:00
melvin 4218ff75d4 removed some empty lines 2011-06-17 13:59:06 +08:00
melvin 3d012964c9 commented out println 2011-06-17 13:53:48 +08:00
melvin 3acf3bbcb3 cleaned up logic 2011-06-17 13:53:36 +08:00
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