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

Screenshot 2015-06-29 10.46.10
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…

This story continues at The Next Web

from The Next Web http://ift.tt/1KjTXOa
via IFTTT

0 Kommentare:

Kommentar veröffentlichen