Printable Dvorak Mark II
After a long discussion on the Dvorak Mailing
list, a Dvorak Deck Definition format was created, that allows
some more information to be stored with a deck than the MUSH format. I
took a subset of all the ideas that I thought was the easiest to
implement, and wrote ddd2HTML, a program that reads in a Deck
Definition and writes out an HTML page much like the one from Mark I. To show the use of it all, I added
most features suggest in my look into
the future from Mark I. The full specification of what the
Deck Definition used is in the manual page
for dd2HTML.
The future
Apart from bugs that need to be fixed, and shortcomings in the current
program, there are some other things that would be nice:
- An extended DDD that allows more (meta-)information to be
stored.
- A nice way to print this information in card format (e.g. like
the Magic rule book).
- A more general way of designing the card faces instead of
hard-coding them into the program.
- A way to generalise this so you can, for example, print Magic
cards with it.
All these things require some more thought, or discussion. I'm open
to all ideas.
The files
- ddd2HTML.pl
- The program itself. There is also a manual page available.
(This link points to a text file. Rename it to ddd2html.pl.)
- MUSH2ddd.pl
- This quick program converts MUSH-style deck listings to Dvorak Deck Definition format. Just run it like this:
MUSH2ddd.pl file > file.ddd
It will print out records for deck, action and thing, and one for each
card. It is not smart enough to convert multiple cards into one record
with a count, or to recognise categories except in the Football deck,
but it's a start.
(This link points to a text file. Rename it to MUSH2ddd.pl.)
Epilogue
If you have any questions, comments or improvements on the designs
or the program, please let me know. All this work is released to the
public domain.
Dion Nicolaas
dion@nicolaas.net