This is a system write in Python 3 to handle custom Cards Against Humanity decks. The CAH_Database.py reads a .txt
file formatted as following:
It generates 2 lists, one containing all the white cards and the other, the black cards. On black cards, acummulated "" will turn into one single "" and extended when generate the cards.
For the time being we can use these lists for 2 purposes:
- CAH_TXT-Generator.py can use it to generate another
.txt
formatted. - CAH_PDF-Generator.py can use it to generate a
.pdf
containing all you need to print your custom deck.
In the future, i will rewrite a code that generates the .png
files to use in Table Top Simulator which for some reason, i wrote in Java. These cards will look like that:
The res folder contain the DEFAULTCARDS_PT-BR.txt which are the standard game cards in Brazilian Portuguese. I dont made the archive for the english version yet. The folder also contain the CUSTOMCARDS_PT-BR.txt which is my custom cards plus cool default ones.