Giter Site home page Giter Site logo

stephenswat / dnd-spelldeck Goto Github PK

View Code? Open in Web Editor NEW
127.0 127.0 14.0 699 KB

A Python program for generating LaTeX code that will generate a nice looking deck of cards with Dungeons and Dragons 5e spells on them.

License: GNU General Public License v3.0

TeX 22.19% Python 77.81%

dnd-spelldeck's Introduction

Hello!

Hi there! My name is Stephen, and I'm a high-performance scientific software engineer at the European Organisation for Nuclear Research (CERN). Specifically, I work on @acts-project, where I am trying to bring GPGPU technology to track reconstruction.

Besides high performance computing, I am also enamoured with programing language theory, functional programming, and compilers. I enjoy learning more about category theory and logic, but I don't have much time to study them. My favourite programming languages are Python, C++, Rust, and Haskell. One of the things I enjoy most in my line of work is education, and I am always looking for ways to help out with trainings and such!

Outside of computing, I am an amateur photographer and I really enjoy tabletop roleplaying games. I like to ride my bicycle around the Swiss-French countryside for exercise.

Please feel free to contact me with questions, suggestions, collaborations, or whatever else!

dnd-spelldeck's People

Contributors

emersont1 avatar lordp avatar mattearly avatar stephenswat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnd-spelldeck's Issues

Thank you

Not a real issue.
This is just to thank you for this!

So useful and great.

Thank you.

photo_2023-04-12 15 54 25

UnicodeEncodeError

Using the command "python generate.py -c sorcerer" (Python 3.5.2) it got most of the way through with the last successful spell being "Power word stun" before throwing the following error:

Traceback (most recent call last):
File "generate.py", line 115, in
print_spell(name, **spell)
File "generate.py", line 61, in print_spell
(name, header, range, time, duration, ", ".join(components), source or '', textwrap.fill(new_text, 80)))
File "C:\Users\Toby\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp850.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_map)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u20ac' in position 268: character maps to

I had a quick look around and it seems to be Prestidigitation that's the next sorcerer spell and it has some special characters in. Might want to look into it.

Unicode carriage return and mode

Hi. Spells like Druidcraft have a bulleted list of alternative effects: in the json file there are UNICODES like \u00e2\u20ac\u00a2 that won't be correctly translated in latex...

Backside of the cards

Hi!
I was just wondering if there is a handy way to print also the backside of the cards, something like what is discussed here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.