
Story by
Mic Wright
Reporter, TNWMic Wright is a journalist specialising in technology, music and popular culture. He lives in Dublin. He is on Twitter at @brokenbottleboy. Mic Wright is a journalist specialising in technology, music and popular culture. He lives in Dublin. He is on Twitter at @brokenbottleboy.
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.
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:
Let me know if you end up making your own game with Squib and share the links in the comments.
➤ Squib [Andy Meneely]
Read next: Resources to help you get started on learning Ruby