Commit graph

83 commits

Author SHA1 Message Date
Bill Zorn
08dc3944f8 made decoding better 2015-07-23 01:04:40 -07:00
Bill Zorn
c5231ac947 fixed a few little things 2015-07-17 01:48:12 -07:00
Bill Zorn
747614e355 Added decode script with two supported formats.
Other misc fixes as well, we get all of the choice cards right in the encoding.
2015-07-17 01:13:58 -07:00
Bill Zorn
2a0e014c41 Changed things to use the python module system better and have argparse.
Encode now supports multiple formats, still working on decoding them nicely.
2015-07-15 23:40:15 -07:00
Bill Zorn
40fc695826 Card now has flexible input from encoded formats. Data mining code updated.
Unfortunately, python does not do import in a nice way without using the
full bore module system, I'll deal with that another day.
2015-07-14 23:27:21 -07:00
Bill Zorn
31877972c2 now we actually sort before pseudo-randomizing so we don't depend on dict order 2015-07-14 20:40:56 -07:00
Bill Zorn
1a4965fd83 EVERYTHING HAS CHANGED
Added lib and script subdirs to organize things; the biggest change is that now
we have a really powerful Card class that can handle all of the decoding and
encoding for us. encode.py has been written to take advantage of this, other
things have not yet. Coming soon! As a side note the changes to output.txt
are purely cosemtic, though the order should be stable now.
2015-07-14 00:07:25 -07:00
Bill Zorn
cbf8ac34e5 Datamining code is in a working state, randomize_mana.py is a good demo
of a really specific feature. Other improvements; changing the keys used
during json decode reordered everything in output.txt, but there shouldn't
be any other major changes.
2015-07-08 00:22:54 -07:00
Bill Zorn
01c78549f5 made things better, probably usable, definitely not final 2015-07-07 02:26:09 -07:00
Bill Zorn
7db63b9b56 actually finished the symbols code in utils, probably decoding works 2015-07-06 23:03:33 -07:00
Bill Zorn
0257d352dd mostly reordings because mtgjson updated, will-o'-the-wisp seems to be new 2015-07-06 22:41:52 -07:00
Bill Zorn
8298788b73 here's the updated output file with many mana encoding errors fixed 2015-07-06 22:27:41 -07:00
Bill Zorn
db0b9a9f9a split most of the code from config into utils, encode now uses utils as a lib
fixed MANY MANY ERRORS in the original output file by using this superior code
2015-07-06 22:26:25 -07:00
Bill Zorn
110ac8473c added base config file, it should work but it isn't used yet.
otherwise things are back to normal. minor output updates, removed conspiracies
2015-07-06 00:15:12 -07:00
Bill Zorn
eef2e70e28 the encoding now makes 2 manacosts, one before and one after the text!
there are some other (temporary) changes too, things are a mess.
let's worry about that later.
2015-07-05 00:59:02 -07:00
Bill Zorn
b4f8d26a20 updated readme 2015-07-04 02:50:40 -07:00
Bill Zorn
336ac2701c significantly enhanced datamining code, maybe it even does something 2015-07-04 02:39:41 -07:00
billzorn
3223618873 added datamining code, it doesn't do anything yet 2015-07-01 21:11:33 -07:00
billzorn
33a8b6d58f hacked in legacy support 2015-06-30 23:21:39 -07:00
billzorn
77133cbed6 fixed edge case with nonmana equip costs 2015-06-30 23:09:05 -07:00
billzorn
b63b950955 sorting and unscrambling now handle new choice format 2015-06-30 23:02:48 -07:00
billzorn
749c7daea8 changed the comment marker from # to %, just because 2015-06-30 22:20:04 -07:00
billzorn
b388ebc2e3 finished code for formatting choices, still need an unscrambler for it 2015-06-30 22:14:02 -07:00
Bill Zorn
bf6114c932 working on choose one problem 2015-06-30 21:25:29 -07:00
billzorn
8cf4a7d955 some minor tweaks and improvements 2015-06-30 01:34:09 -07:00
billzorn
6df5a4410e added card sorting script, also added renaming of counter to uncast in encoding 2015-06-29 22:40:14 -07:00
billzorn
edfa7100b7 added new unscrambling code to make good output for posting on mtgsalvation 2015-06-28 11:12:08 -07:00
billzorn
be0a52f7ab who needs debugging print statements? 2015-06-27 22:26:01 -07:00
billzorn
92d9dc8bd8 added unscrambling script to make reading the format easier 2015-06-27 22:25:09 -07:00
billzorn
41e269d9b3 fixed doubling season's seeming use of ore counters 2015-06-27 19:17:38 -07:00
billzorn
63bdbc1569 ok here's the latest output file or something whatever yeah 2015-06-27 19:04:46 -07:00
billzorn
a7a92dc533 added more description to README 2015-06-27 18:58:11 -07:00
billzorn
f0fd56d8ea added initial files 2015-06-27 18:35:11 -07:00