ThreatDeck by DXC Technology is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at https://github.com/dxc-technology/ThreatDeck.
This repository holds the source files to the award winning DXC ThreatDeck Security playing card game. The latest release can be found in releases, with the print materials in the ThreatDeck.zip
asset.
Game rules and instructions can be found in RULES.md and INSTRUCTIONS.md respectively.
Extract the ThreatDeck.zip
archive.
Print all PDFs in the root folder as a manually duplexed print job — the alignment on automatic duplexers seem to have rather poor tolerances being approximately 2-3 mm out on both axes, you may have better success with a local reprographics department or commercial print shop.
Consumer / business grade printers limit cardstock options to the 200 gsm grammage / area density range, professional-grade playing cards are typically between 300 and 350 gsm, therefore if you desire a more professional level of stock feel and weight, you may wish to seek the services of a commercial print shop.
The cards have 5 mm bleed and include crop marks and trim lines for die-cutting, see instructions below for building cards without crop marks and trim lines. Dedicated crop marks and trim lines are available separately in the crops
and trims
directories of the archive.
The SVGs in src are best edited in Inkscape (a free open-source WYSIWYG SVG editor) or another vector graphics editor, whilst you can try updating the SVGs by hand, you will likely encounter challenges with how to wrap text.
If you wish to build the project please follow these instructions to build PDFs from the source SVGs.
- Download Docker Desktop 🐳
- Clone this repository to your local machine ⬇
- Open a terminal 💻
cd
into the cloned directory. 📁- Build the docker image by running
docker build --tag threatdeck .
, grab a coffee, this can take five minutes ☕ - Run the container using
docker run -v $(pwd):/usr/ThreatDeck threatdeck
on Linux ordocker run -v %cd%:/usr/ThreatDeck threatdeck
on Windows. 🏃♂️ - After ~10 minutes
ThreatDeck.zip
will be produced in./dist
. 🚀
The build process accepts the following optional arguments:
-m
produces a four up layout with four cards per page, thus saving paper, note that it assumes duplexing along the long edge of a portrait page.-c
lays out elements with crop marks.-t
lays out elements with trim lines.-f
lays out elements with fold lines (where appropriate).
Use the following syntax to use these optional arguments docker run -v $(pwd):/usr/ThreatDeck threatdeck -mctf
.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.