Done with Cards Against Humanity? Squib is a version of Ruby for coding your own card games

Done with Cards Against Humanity? Squib is a version of Ruby for coding your own card games

Cards Against Humanity has been a huge success, but it also has a lot of critics. If you want to build your own card game and have some knowledge of Ruby, Squib will be right up your street.

The Ruby Domain Specific Language (DSL) is available on GitHub and lets you define your game deck’s stats, then compile it into a series of images ready to print.

Ever been to a tech festival?

TNW Conference won best European Event 2016 for our festival vibe. See what's in store for 2017.

The implementation is based on the Cairo graphics rendering engine, which is used by WebKit, Gecko and Inkscape among others.

Here’s a code sample from the Squib devs followed by the cards it generates:

Screenshot 2015-06-29 10.43.06

Screenshot 2015-06-29 10.44.47

Let me know if you end up making your own game with Squib and share the links in the comments.

Squib [Andy Meneely]

Read nextResources to help you get started on learning Ruby

Read next: Offline over the weekend? Read all the tech news you missed right here

Here's some more distraction

Comments