Commit graph

21 commits

Author SHA1 Message Date
David Heyman
2f95b79f10 2to3 conversion (some things not yet changed) 2016-08-13 21:16:43 -04:00
Bill Zorn
b3860eb924 moved general file opening logic to a central location 2015-11-06 20:50:29 -08:00
Bill Zorn
18b7a69f90 added line transforms, not totally sure if they work yet 2015-09-06 21:58:56 -07:00
Bill Zorn
7dbd56a9bd updated encode and decode to use new, unified formats 2015-09-06 20:24:19 -07:00
Bill Zorn
f0e631e015 added rarity to the default fields 2015-08-01 02:26:34 -07:00
Bill Zorn
49e386ac4f various improvements, added cbow 2015-07-29 01:21:34 -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
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
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
billzorn
77133cbed6 fixed edge case with nonmana equip costs 2015-06-30 23:09:05 -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
6df5a4410e added card sorting script, also added renaming of counter to uncast in encoding 2015-06-29 22:40:14 -07:00
billzorn
41e269d9b3 fixed doubling season's seeming use of ore counters 2015-06-27 19:17:38 -07:00
billzorn
f0fd56d8ea added initial files 2015-06-27 18:35:11 -07:00