m. c. de marco: To invent new life and new civilizations...

CardPenned

You may recall that I rethemed a game for Pinewoods last year: the geography game 10 Days in Beautiful Africa became 10 Hours at Beautiful Pinewoods. This year, I rethemed Sleuth, the Sid Sackson classic, as Scottish Sleuth. Once again, it was an easy retheme, and I’d recommend it to anyone who can come up with a combination of 3 x 3 x 4 factors that you find more interesting than the jewels/numbers/colors of the original. (Recall that game mechanics cannot be copyrighted.)

The game went over well; the theme wasn’t any less pasted-on than in the original, but I think the audience was more likely to take an interest in logic games than your average non-gamer.

This year I had plenty of time beforehand to get cards printed, so I delved once more into the world of card creation software. The program most after my own heart was HCCD, an abbreviation for HTML+CSS Card Designer. But it involved Java, always a scary and off-putting situation, and I thought that probably wasn’t necessary with the state of the web what it is today. Nor was I interested in learning Adobe tools just for a one-off retheme of a game I could just play in the original.

Realizing that I’d often given up on a card-making project because the tools were off-putting, I decided to reimplement HCCD’s idea (of putting a CSV card list, an HTML Mustache template, and a CSS file together into cards) purely in client-side JavaScript that people could play with in their browsers. And thus CardPen was born. Next, I expanded it beyond recognition through a process of feature-creep; I don’t even recall why I decided to add the BoardGameGeek-collection-to-cards functionality. I suspect it was just because I could.

I ended up with not just the two decks of cards for the game (which I printed early at ArtsCow along with an unrelated test deck to see how things looked), but scorepads, rules, and a game box that I had printed later by The Game Crafter.

Scottish Sleuth

The most important feature for using the print-on-demand services I did was exporting the HTML to 300 dpi image files. Such conversion is a dark art, performed by the dom-to-image JavaScript library, and is the most likely thing to go subtly awry in the process. But if your layout is simple and your project is too casual to invest the time in learning the more powerful tools that are out there, CardPen will likely get it looking much better than it needs to.

I made a CardPen Users Guild at BoardGameGeek for questions and discussion, but feel free to use the BitBucket issue tracker instead or in addition. The next item on my CardPen to-do list is cataloging the major custom fabric printing companies like Spoonflower that take image files, and making some gaming-related examples for Spoonflower.

Harvest Randomizer

I didn’t support the Kingdom Builder: Harvest kickstarter and I haven’t gotten a copy yet, but back when I added Marshlands to my Kingdom Builder randomizer I also promised to eventually update it for Harvest,. The actual changes would have been simple if I weren’t so horrified by the spaghetti code into which the randomizer had grown over the years.

It’s a little late for refactoring when Harvest is the last expected expansion in the tumultuous history of Kingdom Builder, but refactor I did. This cleared up some subtle bugs and introduced some less-subtle bugs, all of which are, hopefully, squashed now. Please let me know if they’re still crawling around in there.

The source is still at github.

I couldn’t find a simple bookmarklet to unhijack tracking links (which often dead-end in my ad blocker and are a pain to reconstruct), so I wrote one:

javascript:(function(){var%20k,x,n;var%20l=document.links;for(k=0;k<l.length;k++){x=l[k];n=x.href.split('http');if%20(n.length>2)%20x.href="http"%20+%20decodeURIComponent(n[2]);};})();

Apply on the source page before clicking the link.

Macro and Micro

I backed the Micro.blog Kickstarter mainly in memory of App.net, since I wasn’t sure whether anything would come of it—mostly because of the odd choice to make the Kickstarter about a book rather than about the microblogging service that seemed to be the primary interest of the backers. In fact, I’m still not sure anything will come of it, but invitations to Kickstarter backers are out and mine inspired me to set up an indie microblog.

The new smallness can be found under micro, or (hopefully soon) at Micro.blog under my username. I also tossed in the feed from pnut.io, my preferred less indie but more convenient microblogging successor to App.net.

I found a clue here to how to fix the annoying, poorly-formatted xref buffer that had mysteriously appeared when Q-ing in dired in Emacs 25.2:

(define-key dired-mode-map (kbd "Q") 'dired-do-query-replace-regexp)