Commit Graph

1019 Commits (9b8a34bc2a5e4dda04317168244e840db0118a3b)

Author SHA1 Message Date
melvin 9b8a34bc2a hideinfo if valid choice is selected 2011-07-23 12:30:35 +08:00
melvin cb8476c2d4 added mouse motion adapter to background to hide card viewer when mouse move over the background 2011-07-23 12:09:23 +08:00
melvin b4b0db0f61 removed empty line 2011-07-23 12:07:44 +08:00
melvin 340a7bc98d increased in game version number to 1.16 2011-07-23 12:07:26 +08:00
melvin e16d1f6b4d added newline 2011-07-23 12:07:11 +08:00
melvin 41fb87226a wrapped long lines 2011-07-23 11:21:41 +08:00
melvin 3ef142724a removed empty lines 2011-07-23 11:09:16 +08:00
melvin bb300682ca always clean up blocking results when undo executed during declare blockers choice 2011-07-23 10:52:01 +08:00
melvin ef05862dc8 update no longer hides the card image viewer 2011-07-23 10:38:41 +08:00
melvin 682dfbc3fa controller waits for GUI to update before continuing using method invokeAndWait, this improves the responsives of the GUI 2011-07-23 10:35:22 +08:00
melvin 6a367e2d50 update now waits for GUI to complete, GUI is a lot more responsive. Methods that mutate gamePanel now executed on event dispatch thread 2011-07-23 10:27:27 +08:00
melvin f72f5f72f1 removed unused code and empty lines 2011-07-23 10:26:05 +08:00
melvin dde02189fc when updating, first send WINDOW_CLOSING event then call updateApp when windowClosed 2011-07-22 12:34:41 +08:00
melvin e48b40a560 added initial code for auto update of the program 2011-07-22 12:22:57 +08:00
melvin a9a8e21d83 changed ReadmeDialog to ReadmePanel to be inline with Keywords and Card Explorer 2011-07-21 12:04:16 +08:00
melvin 0c6b9e8d80 DelayedViewersThread is now a daemon thread 2011-07-21 11:39:33 +08:00
melvin f70926457b removed commented out code 2011-07-21 11:38:44 +08:00
melvin 0b199bcc55 dispose on close, clean up threads 2011-07-21 11:38:26 +08:00
melvin f432ac70d0 replaced System.exit with RuntimeException 2011-07-21 11:25:41 +08:00
melvin 20b44068a6 replaced System.exit with throwing RuntimeException 2011-07-21 11:25:24 +08:00
melvin 687a8a9bc2 rethrow out of memory error 2011-07-21 11:24:50 +08:00
melvin 5d1194e894 quit simulated window clsing 2011-07-21 11:24:26 +08:00
melvin 82148c8a0c replaced default parameters in MCTSAI with tuned ones, increased duration of AI game to 1 hr 2011-07-21 10:52:07 +08:00
melvin 74ecbc572d added rule to get draft ratings from magicdraftsim.com 2011-07-19 11:01:09 +08:00
melvin 48697c69b2 invoke factory method instead of constructor 2011-07-16 12:17:25 +08:00
melvin 2c356dc766 use accessor to get the number of games 2011-07-16 12:17:12 +08:00
melvin e82aae5469 added factory method for MagicGame 2011-07-16 12:16:52 +08:00
melvin 4f6a308e10 wrapped long lines 2011-07-16 12:01:53 +08:00
melvin 74ac23572a removed unused variable 2011-07-16 12:01:39 +08:00
melvin c1f9a557df made num_games and INSTANCE private 2011-07-16 12:01:16 +08:00
melvin 63fdd4e8d5 fixed Math.abs issue with Integer.MIN_VALUE 2011-07-16 12:00:54 +08:00
melvin 7dc3199d19 moved setting of MCTS parameters to static initalizer block 2011-07-16 12:00:11 +08:00
melvin 3f9bae583a check whether directories are created with mkdir 2011-07-16 11:59:50 +08:00
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