Sabe Jones
54bfe2c1b5
feat(decode): more sentence and title casing
...
Fixes #25 .
2017-01-21 03:38:41 +00:00
Sabe Jones
f69245bc2d
fix(decode): one more smallword
2017-01-19 17:32:50 +00:00
Sabe Jones
5ba220a9d2
refactor(whitespace): nix vim tabs
2017-01-19 17:30:44 +00:00
Sabe Jones
77b4639205
fix(decode): better title casing
...
Fixes #18 .
2017-01-19 17:22:41 +00:00
Bill Zorn
50c903f349
minor cleanup
2017-01-17 15:57:15 -08:00
Sabe Jones
a961baf9ed
refactor(vehicles): speedup
...
Don't check subtypes if we already know it's a creature.
2017-01-16 19:23:04 +00:00
Sabe Jones
b5cd4df795
fix(vehicles): p/t ok on noncreature vehicles
...
Fixes #14 .
2017-01-16 18:59:06 +00:00
reimannsum
7056035719
getters
...
added getters for field_types and field_cost.cmc
2016-06-14 15:10:24 -04:00
reimannsum
adf0c1a44a
Gatherer formatting in HTML
...
moved the forum spoiler and 'back to top' in order to keep lines from
spilling over.
2016-06-14 13:57:23 -04:00
reimannsum
28c765719e
updating gatherer output
...
fixed outdated HTML code when using Gatherer flag
2016-06-14 13:43:33 -04:00
reimannsum
353910ef48
add getter
...
added getter function for field_cost.get_colors()
also added code to add a "back to top" link to each card
2016-06-14 13:16:01 -04:00
reimannsum
fcba310d74
Fixed the things I broke
...
missing styling moved from example files back to source code
2016-06-13 19:47:13 -04:00
reimannsum
fed25c77f4
Improvements to HTML spoiler
...
Changed how Creativity card examples are handled as to not flood
magiccards.info and cause it to blacklist computer. Also added forum
spoiler to each card. changed the link for similar cards to the
magiccards.info page.
2016-06-12 22:19:03 -04:00
Bill Zorn
0132345ebe
first version of something that torch-rnn can use with streaming
2016-05-09 02:13:17 -07:00
Bill Zorn
d4b5ef2104
code changes for encoding updates and sanity checker script that found them
2016-05-06 18:36:35 -07:00
Bill Zorn
b22dcafc89
collecting changes stranded on leveler
2015-12-01 13:36:47 -08:00
Bill Zorn
2cd8b03249
added html visual spoilers for nearest cards / names (creativity metrics)
2015-11-09 23:41:45 -08:00
Bill Zorn
2ebb15cb28
remove unused reference code
2015-11-09 19:32:32 -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
reimannsum
45caa1c16e
Update cardlib.py
...
Adding formatting to the format() function to allow for html output
2015-10-30 11:37:20 -04: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
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
cda98f6209
Fixed Planeswalker loyalty costs.
2015-08-08 21:36:05 -06: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
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
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
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