Commit Graph

7529 Commits (96af2283ebc0759bc0934433b13a105524e9f393)

Author SHA1 Message Date
melvin 293de49bd4 changed filter legal targets to off by default, changed default theme to felt, default avatars to legend 2011-05-27 13:09:26 +08:00
melvin 35412abda7 added number of tokens and summary of changes to README 2011-05-27 12:57:17 +08:00
melvin e28a880536 added exception handling 2011-05-27 12:56:55 +08:00
melvin 3ea9c18667 make default resolution 312x445 as that is the resolution of card images download from magiccards.info, option 'Show original images' will display the original resolution of the image 2011-05-27 12:56:29 +08:00
melvin a34dbde072 removed ... from menu 2011-05-27 12:54:14 +08:00
melvin c19540bbe5 each test game is now a separate class, set property testGame=ClassName to start with this game, for eg. -DtestGame=TestNPH 2011-05-27 11:17:53 +08:00
melvin 012b665b11 fixed some synchronization bugs found by findbugs 2011-05-26 17:16:51 +08:00
melvin c1eac22d33 various fixed suggested by findbugs, make sure we print some messages to stderr when an error happens instead of failing silently 2011-05-26 16:59:52 +08:00
melvin ce09439995 checking for monocolored should use MagicColor.isMono instead of source.getColoredType as source.getColoredType depends on card definition which does not include effects in game 2011-05-26 12:46:18 +08:00
melvin a128a93c9d made it possible to setup multiple test games, test games are activated by name 2011-05-26 12:02:55 +08:00
melvin b8be2eb35d Addes isMono static method to MagicColor and MagicPermanent.hasProtectionFrom
monocolored not checks that source.getColorFlags isMono in addition to
checking that source.getColoredType is MonoColored.

Fixes issue 3
2011-05-26 12:01:44 +08:00
melvin 0bb05e9340 updated evaluation script to work with full paths and run the program from build instead of from the jar 2011-05-25 11:58:03 +08:00
melvin c086de5c8b added rule to copy resources to build 2011-05-25 11:57:28 +08:00
melvin 657e0ae64c added script to run AI evaluation on SGE cluster 2011-05-25 11:15:10 +08:00
melvin 6ea717f608 fixed warning from javac and added rule to build using only javac 2011-05-25 11:10:09 +08:00
melvin 467c2d573c updated Makefile and magarena.xml to reflect the change in filename 2011-05-25 10:22:08 +08:00
melvin a5ead78c33 renamed some files from arena to magarena 2011-05-25 10:20:30 +08:00
melvin b08c53ce00 added list of AIs, decks and games for automatic evaluation 2011-05-24 17:10:44 +08:00
melvin c2139cac06 removed -ea and added -Xmx1G 2011-05-24 17:09:40 +08:00
melvin 72c7a86436 updated location of decks 2011-05-24 17:05:39 +08:00
melvin e326643d0e added capacity of ArrayList to constructor to avoid unnecessary array expansion 2011-05-24 17:04:17 +08:00
melvin 3b00419cbb print progress messages to stderr and only print final result to stdout 2011-05-24 17:02:47 +08:00
melvin e337b535f8 updated location of decks in AI evaluation script 2011-05-24 09:50:25 +08:00
melvin f092ebbdfe moved data that should be data dir to release 2011-05-23 16:05:38 +08:00
melvin 4cc0b9fb03 moved script to evaluate AI to scripts, make maximum duration of a game to be 16.6 minutes and default opponent in benchmarking to be VEGAS because it is fast 2011-05-23 16:01:33 +08:00
melvin 40cfe85d39 added script to evaluate AI and simplified Makefile 2011-05-23 14:07:49 +08:00
melvin 2dfe3bac0e added a Magarena.command file for launching on Mac 2011-05-23 11:08:55 +08:00
melvin c83017dd82 rename Readme to README 2011-05-23 11:08:16 +08:00
melvin b91a5a7a0a make all ensures release/Magarena.jar release/Magarena.exe and tags are updated 2011-05-23 10:52:01 +08:00
melvin f7b6503f08 renamed folder containing files for release from launch4j to release to reflect the intention and not the name of the tool 2011-05-23 10:47:42 +08:00
melvin af4147d09d renamed launch4j to release 2011-05-23 10:40:28 +08:00
melvin cbe604f709 added Makefile, requires GNU Make 2011-05-23 10:23:49 +08:00
melvin 80eb0b3862 added debug version of MCTS called MCTSD 2011-05-23 10:17:07 +08:00
melvin d90c2f3274 changed MAX_TEST_MODE_DURATION back to 10000 and made is configurable with a set method, put showValidChoices in a try block to catch error that occurs if X windows is not available 2011-05-23 10:15:56 +08:00
melvin 3a0d32b75a put new ImageIcon in a try block and catch error that occurs if X windows is not available 2011-05-23 10:05:01 +08:00
melvin f02252c4a8 removed annotation to suppress warnings when unused 2011-05-23 10:03:11 +08:00
melvin d9a4df568c files may be null if the avatar folder does not exist 2011-05-22 16:18:13 +08:00
melvin 856d5703c5 added exception to deal with failure of ImageIcon constructor if X windows is not available 2011-05-22 16:16:59 +08:00
melvin 24695ea1b7 removed gpl from root, there is a copy in launch4j 2011-05-22 15:23:23 +08:00
melvin 2d50dc3852 added includeantruntime=false to remove warnings about unrepeatable build 2011-05-22 15:20:26 +08:00
melvin b02f924438 updated Readme 2011-05-21 17:56:43 +08:00
melvin a7f9d4a74c fixed some missing ; 2011-05-21 17:51:04 +08:00
melvin 3227c09080 added comments and shortened some lines 2011-05-21 17:47:55 +08:00
melvin 3bfa412301 improved the readability and added comments 2011-05-21 17:31:09 +08:00
melvin 77e7e99b6d removed binaries 2011-05-21 17:27:45 +08:00
melvin 4257eb83ba program does exit after images are downloaded 2011-05-21 15:53:30 +08:00
melvin de0e2dffd0 convert to UNIX line endings 2011-05-21 15:48:40 +08:00
melvin 72223846c1 added awk script to get images from magiccards.info automatically 2011-05-21 15:32:01 +08:00
melvin 524f5401e3 added back build.xml 2011-05-21 15:30:57 +08:00
melvin ee2a069878 added avatars 2011-05-21 15:29:13 +08:00