Commit Graph

1086 Commits (877ebaae2db4d9d519a8673fb4fc29b40163ba88)

Author SHA1 Message Date
melvin 7c41eba73a added static num_games to count the number of game objects created via main constructor 2011-07-06 12:09:58 +08:00
melvin 426b124ac7 removed empty lines 2011-07-06 12:09:23 +08:00
melvin d12fe7d44e added sampling based declare blocker choice generator, used when the number of blocking choices exceed 1 million 2011-07-05 17:18:21 +08:00
melvin 52cf57c32e changed MagicCard to use abs(hashCode) has imageIndex instead of using nextInt as nextInt is not synchronized 2011-07-05 14:53:28 +08:00
melvin 1790228260 removeCardFromHand cannot find the card sometimes, need to take care of the fact that the index may be illega 2011-07-05 11:56:09 +08:00
melvin e856c5f33f imageIndex used to select a random card pic in the case that there are more than one image for a card 2011-07-05 11:38:53 +08:00
melvin 977ed33c18 changed time from int to long 2011-07-05 11:14:16 +08:00
melvin 33db19c058 changed time from int to long 2011-07-05 11:13:59 +08:00
melvin af5156018e changed time from int to long 2011-07-05 11:13:43 +08:00
melvin 9061435aea use id in getItemId 2011-07-05 11:13:29 +08:00
melvin 138e6ef3a7 replace identifiers with time 2011-07-05 10:55:25 +08:00
melvin 409ad75ab2 wrapped long lines 2011-07-05 10:54:40 +08:00
melvin fbf3e10a4b create players, game and then createHandAndLibrary as creating hand and library using incTime from game 2011-07-05 10:54:20 +08:00
melvin 2550c16d57 use incTime instead of createIdentifier 2011-07-05 10:53:40 +08:00
melvin ebbb993839 store time instead of identifiers 2011-07-05 10:53:14 +08:00
melvin cba19b90bf use incTime instead of createIdentifier 2011-07-05 10:50:33 +08:00
melvin 7fa631117b wrapped long lines 2011-07-05 10:49:56 +08:00
melvin ab00c9f20e added choice and targetPickter to getEventId 2011-07-05 10:49:37 +08:00
melvin 67b4e74682 createHandAndLibrary need to be called after game has been created 2011-07-05 10:48:47 +08:00
melvin 36d70eea9f removed empty lines 2011-07-05 10:47:51 +08:00
melvin 719a301ea7 removed empty lines 2011-07-04 16:43:59 +08:00
melvin 49d855ab59 removed empty lines 2011-07-04 16:43:50 +08:00
melvin 01ab5c5655 has a generic add method to add rules 2011-07-04 16:43:26 +08:00
melvin 4a86571435 move adding of rules to MagicCardDefinition 2011-07-04 16:43:08 +08:00
melvin ec1906581b removed unused method 2011-07-04 16:18:15 +08:00
melvin 25ba323f05 simplfied the method calls 2011-07-04 16:17:20 +08:00
melvin c5d5a955a0 enable all modifications to UCT 2011-07-04 16:05:57 +08:00
melvin 9c83c0a8b1 improved readability 2011-07-04 15:49:57 +08:00
melvin 657679aebb added ideas from MC-LOA 2011-07-04 15:49:42 +08:00
melvin 590cbf5db5 added notes from consisteny modifications paper 2011-07-04 15:25:46 +08:00
melvin 9ba00e7768 added comments to note the situations where AI blocker choices are not sufficient 2011-07-04 15:00:22 +08:00
melvin f10550078d improved readability 2011-07-04 12:49:51 +08:00
melvin d843aa2adf wrapped long lines 2011-07-04 12:11:15 +08:00
melvin b372bc5320 store parent reference in node 2011-07-04 12:09:02 +08:00
melvin bf698fd4ca added red burn deck by David 2011-07-04 12:08:47 +08:00
melvin d9340c7c02 incLose keep track of max steps incrementally 2011-07-04 11:49:39 +08:00
melvin 39fe0b80a1 renamed constants 2011-07-04 11:07:07 +08:00
melvin b9b76c18f1 moved method for scoring nodes into MCTAGameTree class 2011-07-04 11:04:10 +08:00
melvin 4a5272f41e during simulation of declare attackers, each creature that has a choice has 50% chance of attacking 2011-07-03 21:37:15 +08:00
melvin a5a45145e3 no longer need to specify ai for score_ai script 2011-07-03 20:22:29 +08:00
melvin 045f10ae04 disabled robust max backup 2011-07-03 20:20:42 +08:00
melvin 6ee2c73638 modify selection score with solver result, reward according to length of playout 2011-07-03 20:19:15 +08:00
melvin e37bd1fc64 disable robust max, enabled reward based on length of playout 2011-07-02 14:53:34 +08:00
melvin e09991b258 improve clarity for smart targets 2011-07-02 12:09:19 +08:00
melvin aa1b2f2567 changed label for smart target option 2011-07-02 12:08:38 +08:00
melvin a3b8f5793d changed target hint for Vines of Vastwood 2011-07-02 12:08:14 +08:00
melvin 7d21c42ef2 wrapped long lines 2011-07-02 12:07:36 +08:00
melvin 910eaa2d90 use robost max for backup 2011-07-02 10:58:14 +08:00
melvin c9446e37de rearranged effects, added blank line to output of analysis script 2011-07-02 10:51:19 +08:00
melvin 4d7234ef27 clear workers after processing is complete 2011-07-02 10:50:49 +08:00