Commit Graph

316 Commits (479efb7ec7016c55f025474022b780c2d07272d0)

Author SHA1 Message Date
melvin f01ac6cf0e added script to fix files that does not end of newline 2012-12-28 11:08:26 +08:00
melvin 94ef302dc0 handle card scripts that does not end with newline 2012-12-24 23:03:36 +08:00
melvin 62a1403de3 generalized 'that creature's controller' to work for any permanent 2012-12-15 11:37:52 +08:00
melvin 6acc44d88a move parser code from grammar to src/magic/grammar 2012-12-13 14:12:53 +08:00
melvin 0cf7815ccc rename decks/dec to decks/dl, fixed rule to get comprehensive rules 2012-12-08 20:24:31 +08:00
melvin 0a0017332d remove logs after creating crash.txt 2012-11-20 15:40:16 +08:00
melvin a3f1499216 reduce random testing to 10000 games 2012-11-17 21:11:51 +08:00
melvin 34038194fc use different AIs in test 2012-11-15 22:47:55 +08:00
melvin 0d07341d16 added option --compressed to curl 2012-10-31 21:20:18 +08:00
melvin 080c2d0b1b fixed typo 2012-10-30 17:50:30 +08:00
melvin 3b1d2b95c8 corrected requires check 2012-10-30 17:49:59 +08:00
melvin 216f7a8e0d added script to normalize rules text 2012-10-28 18:41:13 +08:00
melvin 5ff387a418 update wiki each time cards/new.txt is updated 2012-10-27 17:21:38 +08:00
melvin 3579855a25 added rule to compute new cards since last release and rule to update wiki page with new cards 2012-10-27 17:17:53 +08:00
melvin f7c1af882a added rule to update support/ui 2012-10-27 12:57:23 +08:00
melvin 241369932f include casts with generics 2012-10-27 09:17:58 +08:00
melvin bf080893ad rename check to check_all 2012-10-27 08:23:58 +08:00
melvin 864c8e077f remove MagicFadeVanishCounterTrigger from card code, replace with vanishing ability 2012-10-26 19:34:55 +08:00
melvin 2d28180a13 added check rule, rename check_event_data to find_event_data and check_literal to find_literal 2012-10-26 10:07:13 +08:00
melvin 3397b24d0e rename warnings.txt to findbugs_warnings.txt 2012-10-14 22:43:04 +08:00
melvin d70e73eeb6 added rule to look for instances of null 2012-10-14 20:49:49 +08:00
melvin dbf8fa19ca replace extract_existing with extract_candidates 2012-10-12 10:43:16 +08:00
melvin 7a2e3a9f46 update cards/unimplementable.tsv from annotations in cards/candidates_full.txt 2012-10-08 14:19:48 +08:00
melvin 63810a0e93 remove unimplementable cards from candidates_full.txt 2012-10-08 13:55:29 +08:00
melvin b25dfd7707 simplify regex for finding casts 2012-10-07 20:45:37 +08:00
melvin c86928d662 wrapped long lines, move %.fix_date rule closer to usage 2012-10-07 18:02:50 +08:00
melvin ca7518d584 rename check_data rule to check_event_data 2012-10-07 09:37:34 +08:00
melvin a2b3d8f5a2 generate scored candidate list using all decks in decks folder 2012-10-06 18:42:23 +08:00
melvin 4831233978 allow numbers in name, used by tokens 2012-10-06 15:44:55 +08:00
melvin 7206b4f31d ignore numbers in filename of card script 2012-10-06 11:23:45 +08:00
melvin 1af776ae2d added rule to check that script name is canonical card name 2012-10-06 10:01:02 +08:00
melvin 646b276e69 reduce number of games per log file to 50000 2012-10-01 14:59:46 +08:00
melvin 425a79d1b9 removed old rules for updating value 2012-09-30 13:34:32 +08:00
melvin 4d8a981939 added rule to consolidate crash logs 2012-09-30 11:20:52 +08:00
melvin 5f75b5915a move checking rules to end of Makefile 2012-09-29 23:56:38 +08:00
melvin a53ff4131f use 1M repetitions for random testing 2012-09-27 11:10:14 +08:00
melvin f6f6ff9d2c use str 1 instead of str 0 for random testing 2012-09-27 10:29:33 +08:00
melvin f936fb3d7a wrap long lines, use seed option instead of rndSeed env var 2012-09-27 09:59:42 +08:00
melvin 7825aae003 use DeckStrCal for inf test 2012-09-23 10:15:13 +08:00
melvin 1f1d755cb7 include event and trigger in check_data 2012-09-23 09:11:13 +08:00
melvin b2b1b30edd added rule to check aura and remove log files 2012-09-22 20:00:36 +08:00
melvin 4f0e948dc7 add magarena.dir to %.t rule 2012-09-22 18:45:24 +08:00
melvin 7864c51232 rename rule to make it more specific 2012-09-09 11:03:00 +08:00
melvin 43c83bbe90 added rule to check that spell cards are properly moved to graveyard after casting 2012-09-09 10:52:21 +08:00
melvin 69414d4c93 check for use of data file by file 2012-09-09 10:24:29 +08:00
melvin 1e94a8ca64 compute X on resolution 2012-09-08 12:18:30 +08:00
melvin 2470e34b09 added rule to remove release 2012-08-25 22:09:10 +08:00
melvin 8cb9bd3afe fixed upload/version rule by adding dependencies 2012-08-25 21:14:05 +08:00
melvin 38600e094d move sed command after curl 2012-08-23 21:35:58 +08:00
melvin f8d080e9ee updated cubes 2012-08-23 21:31:54 +08:00
melvin a0cf8da515 partition by rarity to get all card in modern 2012-08-19 23:23:58 +08:00
melvin 31b129c611 improved rules for download list of cards in a certain format 2012-08-19 23:04:51 +08:00
melvin 4d84b757b4 simplified normalize rule 2012-08-19 20:18:07 +08:00
a. benedict balbuena 6a59d2f1a7 added Bound in Silence 2012-08-19 18:02:07 +08:00
melvin 0e302290e7 removed extra space at start of command 2012-08-19 16:33:37 +08:00
melvin 8ce212e107 added rule to check that there is a 1-1 mapping between each script that requires card code and each class in src/magic/card 2012-08-19 16:32:49 +08:00
Braullynn 377bb29795 added script for Goblin Grenade 2012-08-19 09:05:00 +08:00
melvin a2adb952cc added rule to update value of a single card 2012-08-11 09:40:55 +08:00
melvin 158a7e2c88 moved gatherer_rankings to cards directory 2012-08-09 18:56:47 +08:00
melvin b871d7fe1b update rule to work with non accented letters 2012-08-09 18:53:42 +08:00
melvin 0baa9fec92 only update non token scripts with gatherer rankings 2012-08-09 17:44:15 +08:00
melvin e3502a4428 added rule to download rating from gatherer 2012-08-09 14:38:06 +08:00
melvin 2f9403dbac corrected typo, removed unused rule 2012-08-05 22:18:42 +08:00
melvin d02b9757cf added magarena.dir to Test%.run rule 2012-08-02 10:21:20 +08:00
melvin c4b3135951 define magarena.dir in %.d rule so that make test no longer needs Magarena folder in same dir as Makefile 2012-08-02 10:17:15 +08:00
melvin 3be5386f56 added upload/version rule 2012-07-29 13:52:49 +08:00
melvin 3734ccb883 reordered arguments to googlecode_upload 2012-07-29 13:48:46 +08:00
melvin 662d0cb818 correct rule to upload zip to googlecode 2012-07-29 10:54:14 +08:00
melvin 0cba8d33cf added rule to automatically get recent top decks 2012-07-26 16:51:56 +08:00
melvin c059ee7261 fixed dependencies for scored_by_*.tsv 2012-07-26 16:47:15 +08:00
melvin 8878d2aa77 updated rule for cards/mtg-data 2012-07-26 16:42:56 +08:00
melvin 0d5b8c4c5c fixed %.speed rule 2012-07-21 11:08:27 +08:00
melvin 00939e3e55 rule to download updated MTGO cube 2012-07-05 15:53:36 +08:00
melvin 59d48e76e8 updated script and rule to generate candidates_full.txt 2012-07-01 22:32:16 +08:00
melvin 5fae70aff2 replace existing.txt with existing_tip.txt 2012-07-01 22:01:42 +08:00
melvin 38c0bfe3df simplified script to determine list of new cards 2012-07-01 20:10:50 +08:00
melvin 803743aa4d added rules and script to study mana symbol ordering 2012-06-29 14:09:40 +08:00
melvin 257b8a2340 add rule to verify order of mana symbols 2012-06-24 21:43:06 +08:00
melvin 4658a9bf24 added rule to update cards/legacy_banned.txt 2012-06-20 21:09:21 +08:00
Pablo Castellazzi 086f035406 Makefile: make clean now work without javac.last 2012-06-14 07:26:36 -03:00
melvin 84c0775090 store output in log file 2012-06-13 22:48:13 +08:00
melvin f25b3af63b changed path to findbugs 2012-06-13 14:35:26 +08:00
melvin e62ff341d9 remove tokens from new_%.txt 2012-06-13 11:27:08 +08:00
melvin 689b6da5f4 use TestName.run to run test cases 2012-06-11 22:25:45 +08:00
melvin 6c6e3ddb9a use unix timestamp as name of log file 2012-06-03 09:56:47 +08:00
melvin cb896f7cb4 fixed decks/dd to download from web 2012-06-02 17:49:07 +08:00
melvin 9c16169893 corrected rule for mtg-data 2012-06-02 11:00:49 +08:00
melvin e7ac4d99ac added rule to download latest daily decks 2012-05-27 14:11:42 +08:00
melvin df0d767dfd added rule to normalize card names 2012-05-26 15:19:22 +08:00
melvin 2b3085072e added rule for scoring cards using top decks 2012-05-23 22:18:41 +08:00
melvin b3d9143d62 removed implemented cards from scored_by_dd.tsv 2012-05-23 13:29:08 +08:00
melvin a6926ebad3 cards/new_%.txt depends on release/Magarena/scripts 2012-05-23 11:56:17 +08:00
melvin 7fbe8c8579 update rules to handle name=, new simpler of getting list of new cards by parsing hg diff output 2012-05-23 11:48:40 +08:00
melvin 253fb3a902 added rule to score cards by appearance in daily deck column 2012-05-22 13:08:09 +08:00
melvin c27aef2d18 added rule to check that properties in card script are unique 2012-05-20 14:12:56 +08:00
melvin 1352bbe3c8 changed rule for running test to Test/<test name> 2012-05-06 18:39:06 +08:00
melvin a78a9036d9 added rule to get latest mtg-data from forum link 2012-04-28 11:16:31 +08:00
melvin 0ed9da7281 removed %.g rule 2012-04-15 09:10:16 +08:00
melvin ef6c48096d added rule to push to github 2012-04-09 22:14:14 +08:00
melvin 9a676b0489 lists sets on magicdraftsim by parsing the site 2012-04-09 22:08:23 +08:00
melvin 0f5193339b determines type and subtype and print out abilities as it is listed in oracle 2012-03-25 15:05:43 +08:00
melvin a3686f907c ignore literals/identifiers when finding clones 2012-03-22 14:39:47 +08:00
melvin 529f0b6674 added rule to generate MTGO cube 2012-03-13 16:13:52 +08:00
melvin 665d84b137 remove duplicate code, refer to Essence Drain 2012-03-13 14:59:55 +08:00
melvin 6f83aec702 added rule to find code clones 2012-03-11 23:12:49 +08:00
melvin 1eee4d140f updated rule to use new version of findbugs 2012-03-11 20:52:15 +08:00
melvin 58b81cc6af added rules to find cards that requires card code and list of cards with card code 2012-03-11 14:22:11 +08:00
melvin 28b6d56e96 unified java command line 2012-03-10 23:52:01 +08:00
melvin 920d98d072 simplified command 2012-03-10 18:50:21 +08:00
melvin 8e655ee2b0 replace cat pipe to grep with just grep 2012-03-10 18:10:38 +08:00
melvin 348d61a680 only generate tags for files in src 2012-03-10 17:59:23 +08:00
melvin 173c2a57c3 improved script for getting ratings from MagicDraftSim.com 2012-03-04 00:40:47 +08:00
melvin 966a8387ee added label Deprecated to daily builds so they don't show up on the download page 2012-02-26 11:09:22 +08:00
melvin f1dc492b96 Added rules for automatically uploaded releases to the downloads page 2012-02-25 22:54:08 +08:00
melvin 95782f7848 get the latest comprehensive rules by parsing www.wizards.com/magic/rules 2012-02-25 15:38:18 +08:00
melvin 3835b1d0ee determine version to build for rule zips based on README.txt 2012-02-24 13:59:40 +08:00
melvin 674bd4e9ac added rule to build release based on latest tag 2012-02-24 13:50:24 +08:00
melvin 5caea2954b make M1.% dependent on felt_theme.zip 2012-01-28 10:57:20 +08:00
melvin fcb441ffd2 when making cards/existing_scripts.txt use sed instead of flip -u 2012-01-28 10:49:19 +08:00
melvin 72acc9ba15 for rule M1.%, replace all with EXE 2012-01-28 10:31:16 +08:00
melvin 3440d68893 ignore binary files when searching for version number 2012-01-28 10:26:56 +08:00
melvin caad579238 use build.xml in repo 2012-01-28 10:08:39 +08:00
melvin 9e5abbcee4 replaced pull-beholder rule with up to update both source and wiki 2011-12-04 00:10:08 +08:00
melvin 0969deeee2 make sure that Magarena.app version number if updated 2011-11-26 14:58:09 +08:00
melvin 36013a442b clean up Magarena-*-app.zip 2011-11-26 13:55:03 +08:00
melvin 494881e3fb added rule to generate list of tokens, list of card is list of all script - list of tokens 2011-11-23 13:12:47 +08:00
melvin 3b2e12b024 replaced rule for existing_full.txt to a generic rule for adding oracle text to a list of cards 2011-11-21 12:47:34 +08:00
melvin a8c96958ab correct paths due to reorg of release folder 2011-11-19 11:30:04 +08:00
melvin e63ae30960 correct paths for rule to generate the download package 2011-11-18 09:38:37 +08:00
melvin 50ae599b87 removed arguments when finding abilitys to add to script 2011-11-17 16:10:49 +08:00
melvin c975a8fa4b fixed rule for cards_diff 2011-11-16 10:21:14 +08:00
melvin 87875d94b0 added rule to generate cards_diff 2011-11-16 10:11:34 +08:00
melvin 7ed5a3784d added 'enters tapped' keyword ability 2011-11-15 11:39:35 +08:00
melvin 9df4d992e8 removed reference to cards.txt 2011-11-13 20:19:46 +08:00
melvin 0c59e51beb filter out warnings related to System.{out,err} 2011-11-08 09:42:56 +08:00
melvin f72daaace4 removed cards2.txt from Makefile 2011-11-04 13:39:08 +08:00
melvin 8d2c7ffaea replaced dos2unix with flip, added rules to build Mac app bundle 2011-10-28 20:27:43 +08:00
melvin ba07fd73e5 added rule to upload to google code 2011-10-27 11:06:12 +08:00
melvin 7e42049e91 ensure that cards/existing.txt uses UNIX line endings 2011-10-23 14:56:09 +08:00
melvin 93270c2611 make sure always do a full rebuild when building release 2011-10-08 11:12:11 +08:00
melvin 3892e082a9 updated URL for comprehensive rules 2011-10-03 14:37:41 +08:00
melvin c904c89ae6 added rule to run AI vs AI for performance tuning 2011-09-23 19:37:29 +08:00
melvin 009cff7a9f fixed rule for generating cards/existing_full.txt 2011-09-21 11:50:30 +08:00
melvin f1e3c7aa06 renamed rule for test to inf as it plays forever, when the program crashes and new insteance if started up, test is reserved for manual testing 2011-09-18 15:11:27 +08:00
melvin 1ca6282937 runs random test in an infinite loop so that if one instance crashes, another instance is started 2011-09-16 19:49:44 +08:00
melvin 4cbeb9ab9a added rule to create list of news cards, make sure README is updated when building release 2011-09-08 15:36:24 +08:00
melvin 051327bcfa added rule to find casts 2011-09-06 14:41:07 +08:00
melvin 4bca88d065 remove filter 2011-09-04 16:20:01 +08:00
melvin d4d877288c added rules for warnings_H.txt 2011-09-03 22:21:10 +08:00
melvin ef5a919b95 make sure cubes are updated when build a release 2011-09-01 16:35:20 +08:00