Commit Graph

16 Commits

Author SHA1 Message Date
Bill Zorn 2cd8b03249 added html visual spoilers for nearest cards / names (creativity metrics) 2015-11-09 23:41:45 -08:00
Bill Zorn c9f8f251d5 tweaks and fixes, html mode has a few new features and is mostly working as desired 2015-11-09 19:24:48 -08:00
Bill Zorn ccb112021e Merge branch 'master' of https://github.com/reimannsum/mtgencode into reimannsum-master
Conflicts:
	decode.py
	lib/cardlib.py
	lib/utils.py

Moved massive html header string into a separate file.
2015-11-09 14:10:56 -08:00
reimannsum 0d78b7ab91 updating to the newest version of mtgencode and finishing html support 2015-11-08 20:16:29 -05:00
Bill Zorn b3860eb924 moved general file opening logic to a central location 2015-11-06 20:50:29 -08:00
reimannsum 8f49803581 Update decode.py
Adding support for producing html file outputs.

INCOMPLETE: not sure how to specify how to write the output file for '.html'
not sure how to/if can require only html flag
2015-10-30 11:11:07 -04:00
Bill Zorn 7dbd56a9bd updated encode and decode to use new, unified formats 2015-09-06 20:24:19 -07:00
Bill Zorn 5fbd2dca8e Improved MSE support; lots of cool stuff goes into notes, and bsides work.
Also changed the phrasing of uncast a bit to be clearer for unpasses.
2015-08-14 23:40:47 -07:00
Bill Zorn 438bc86be9 Integration and unbreaking of MSE support changes.
There are still several major issues -
      MSE cards look decent, but there is virtually no text prettification.
      Split cards (bsides) are not supported at all.
      There is no abuse of the notes field to dump additional data yet.
2015-08-11 00:13:31 -07:00
PAK90 29e604cddf Nearly finished planeswalkers, fixed lands, added titlecase for capitalization, fixed choices.
Removed snow mana from land mana cost.
Planeswalkers almost done; need to handle those with loyalty costs above
9.
titlecase.py provides much better capitalization for names and
rulestext.
Choices now have dash and bullet points.
2015-08-08 21:19:00 -06:00
PAK90 1bc3c724a1 Added MSE2 export feature. 2015-08-08 15:03:37 -06:00
Bill Zorn 70bec99138 added support for checking cardnames 2015-08-01 22:16:30 -07:00
Bill Zorn 758f48b790 updated to new mtgjson version and added legacy support for formats
without a rarity field
2015-08-01 13:26:03 -07:00
Bill Zorn 49e386ac4f various improvements, added cbow 2015-07-29 01:21:34 -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