Live data from Hacker News

Show HN: Card Proxy Generator – Generate printable game cards from JSON

mitchkeenan.com

31–40 of 46 posts

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#31

I like the simplicity of the UX, I would find it much more usable open source so I can adjust the template easily. I wrote a similar thing for my board game site [0], using yml files as data sources with jekyll includes to generate the html and a html2canvas conversion to make printable images of individual cards that I have to manually put on a print-sheet -- not quite as streamlined as this, and I would love to lea…

I'm surprised this community is not more adamant about source being shared alongside a "Show HN" post. It seems like a no-brainer to include source when showing a group of software enthusiasts your non-commercial project.

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#33
I built something quite similar to this for my brother, who plays Magic: The Gathering. He likes to build decks and test them before he commits to buying the cards in it, so he asked if I could help him generate printable decks to test with. Luckily, somebody has already compiled all of the Magic: The Gathering seasons and published it openly here: https://github.com/mtgjson/mtgjson.

My previous system was a hacky Python-based HTML pre-renderer that was annoying to maintain - I was in the process of rewriting it but have dropped off on development recently. You can see a WIP of it here: https://curtislusmore.github.io/mtg/

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#35
post #11

Earlier quoted context omitted.

I'm not the OP, but as someone who dabbles in tabletop game design, I find these kind of generators very useful for game prototyping. (The one I've used most in the past is called Squib[1] and it's an open source Ruby codebase and very configurable.) It's often a huge pain to write prototype cards by hand, especially when you have to do it multiple times while iterating the design. (Though in some cases a generator w…

This is neat. I'm curious, how does printing work after the prototyping stage? Would you usually find a publisher, who handles it for you? Are there other tools like Squib for making homespun tabletops?

How printing goes after prototyping all depends... Some people shop their prototypes to publishers, some get the game to a more advanced state before shopping it to publishers, others self publish, and still others release it as print&play. There are various companies that'll print small runs/single runs of nicer cards (sometimes indistinguishable from "pro" cards), and some of those companies will even manufacture other components too, like boards and gamepieces.

I've printed a few print&play games on sites like printerstudio.com and received some really nice cards. It's a bit pricier than you'd want if you were going to get it manufactured for sale, but for a nice copy or two of something you're never really going to get published, it can be worth it.

There are other tools for making homespun tabletop games (some of which have been mentioned in other comments here), but Squib is pretty much the best if you want functionality/customizability and can handle doing stuff in Ruby. If I didn't already know it pretty well, I'd probably use the OP's site, though. The main thing you want when prototyping is to iterate a lot, so the easier one of these programs is to use, the better. OP's site, being web-based, is definitely easy... no need to install, works wherever a web browser does (lots of game design programs are Windows only).

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#36
A while ago I made a "Micropoly" board game about the Microsoft Monopoly, with cards for various dot-com companies (Copyleft (L) 1999 Free Monopoly Foundation), using an xml file to define the cards and board and an ugly Perl script to render them with PostScript!

http://donhopkins.com/home/Micropoly/

>Update: I've written an ugly "openopoly.pl" Perl script, and a "micropoly.xml" data file, that describes the specifics of the game. The Perl script reads in and parses the XML database, and writes out PostScript and HTML to render the graphics and web pages. It embeds EPS files with images and cartoons in the PostScript file, and then runs it all through GhostScript, to render out PDF and JPG files with the printable images of the board. It currently writes out one HTML file with links to the small and large pictures of all the property cards, and soon it will write out a web page for each property, and link them all together, as well as an image map for the entire board. Most of the logos, cartoons, and other graphics haven't been put in yet, but the basic functionality for producing the game is there. This is work in progress, but here's a preview of the automatically generated web page index of properties, the full sized board micropoly-board-whole.pdf [1,672k], the paginated board micropoly-board-split.pdf [10,028k, sorry but I'll optimize the PostScript not to draw clipped images and it will reduce in size], and the printable cards micropoly-cards.pdf [5087k], as well as the micropoly.xml file from which it was all generated.

http://donhopkins.com/home/Micropoly/micropoly.xml

http://donhopkins.com/home/Micropoly/micropoly-board-whole.p...

http://donhopkins.com/home/Micropoly/micropoly-cards.pdf

The idea (which I never finished but encourage anyone else to pick up and run with) was to develop a fully skinnable parametrizable Monopoly compatible game template (or variants like Anti-Monopoly), that you could print out and glue onto cardboard, or even play online!

http://donhopkins.com/home/Micropoly/notes.html

Monopoly is essentially the original "Open Source Game" designed by Elizabeth Magie and shared among Atlantic City Quakers. Then it was illegitimately taken over and patented by a giant corporation. Parker Brothers' story about Charles Darrow was marketing bullshit.

https://en.wikipedia.org/wiki/Lizzie_Magie

There's also an interesting story about Ralph Anspach's decade-long "Anti-Monopoly" lawsuit:

http://www.antimonopoly.com/

https://en.wikipedia.org/wiki/Ralph_Anspach

https://en.wikipedia.org/wiki/Anti-Monopoly

https://www.washingtoncitypaper.com/columns/straight-dope/ar...

https://en.wikipedia.org/wiki/History_of_the_board_game_Mono...

>Also in the 1970s, Professor Ralph Anspach, who had himself published a board game intended to illustrate the principles of both monopolies and trust busting, fought Parker Brothers and its then parent company, General Mills, over the copyright and trademarks of the Monopoly board game. Through the research of Anspach and others, much of the early history of the game was "rediscovered" and entered into official United States court records. Because of the lengthy court process, including appeals, the legal status of Parker Brothers' copyright and trademarks on the game was not settled until 1985. The game's name remains a registered trademark of Parker Brothers, as do its specific design elements; other elements of the game are still protected under copyright law. At the conclusion of the court case, the game's logo and graphic design elements became part of a larger Monopoly brand, licensed by Parker Brothers' parent companies onto a variety of items through the present day. Despite the "rediscovery" of the board game's early history in the 1970s and 1980s, and several books and journal articles on the subject, Hasbro (Parker Brothers' current parent company) did not acknowledge any of the game's history before Charles Darrow on its official Monopoly website as recently as June 2012. Nor did Hasbro acknowledge anyone other than Darrow in materials published or sponsored by them, at least as recently as 2009.

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#37

Not sure if this supports mobile, but I’m just getting a blank new window when I hit “Save”.

Expect a pdf file download. Worked on my phone. ("Save" should be "Download" or something else more clear.)

Yeah, I wasn't sure what to expect after hitting the button. It does work for me in Mobile Safari, but not Chrome (iOS).

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#38

I like the simplicity of the UX, I would find it much more usable open source so I can adjust the template easily. I wrote a similar thing for my board game site [0], using yml files as data sources with jekyll includes to generate the html and a html2canvas conversion to make printable images of individual cards that I have to manually put on a print-sheet -- not quite as streamlined as this, and I would love to lea…

Headless chrome and a print-to-pdf are the way to go, here. There’s a library (whose name eludes me) which wraps it all up very nicely in a JS lib. If you’ve got the html, generating a pdf automatically shouldn’t be more than one screen of code and a docker container.

Edit: the lib is puppeteer. https://github.com/GoogleChrome/puppeteer/

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#39
I'm using Squib (https://github.com/andymeneely/squib) for this at the moment.

I have several of my current prototypes in Squib, with CI where it builds the artifacts (PNGs of each card and a PDF).

I'd like to one day set it up so it pushes the artifacts to Tabletopia (https://tabletopia.com/), but I haven't found the time yet.

Re: Show HN: Card Proxy Generator – Generate printable game cards from JSON

#40
post #31

I like the simplicity of the UX, I would find it much more usable open source so I can adjust the template easily. I wrote a similar thing for my board game site [0], using yml files as data sources with jekyll includes to generate the html and a html2canvas conversion to make printable images of individual cards that I have to manually put on a print-sheet -- not quite as streamlined as this, and I would love to lea…

I'm surprised this community is not more adamant about source being shared alongside a "Show HN" post. It seems like a no-brainer to include source when showing a group of software enthusiasts your non-commercial project.

https://github.com/konamacona/cardproxy
Post reply on HN