Looking through Wizards of the Coast Open Game License 1.0a, and reading around it, it seems it is a weak copyleft license, where anyone can distribute content that derives from OGL content, provided the original OGL content used is included and clearly marked. Decision to further license the derivative works is up to the author/distributer. I suspect is probably not considered a proper Free license, although it clearly tries hard to be like one.I am hoping to build and publish a small software library which would use the D&D 5E rule system and data/content. In my case, this won't be a game, or even a utility to help gamers, but instead a machine learning tutorial/demo using role playing game content. However, I think similar issues will apply as if I were writing a D&D Rogue-like, because some of my content will implement the written rules in software. It appears that writing such a game is considered OK by the publishers, according to this FAQ, and provided no product identity is used - that's some monsters, famous NPCs and of course branding material. No problem there for me.My reason for choosing D&D is that it can be used to quickly construct an interesting range of reinforcement learning challenges, which will save time and effort - in theory. If it turns out this causes a big headache in licensing I may need to look elsewhere. I want to host my project in Github and publish under a free, open-source license. I am considering Apache 2.0 license for my own work, but I'm not strongly committed to it, and am willing to be driven by whatever makes things simplest when combined with using the OGL license in places.My understanding of compliance with OGL is:OGL content is intended to be accessible to game players (not software engineers), so software derivations of rules need to be distributed with a written version of the rules.I am intending to simply include the whole SRD and refer to pages in that for code that implements specific game rules.Anything derived from or extending OGL content can be licensed as I wish, although all I can license is the work that has gone into the adaptation - in effect two licenses might apply where code builds over SRD rules.I am wondering whether it will be cleaner to apply OGL to a utility library that implements D&D rules, separately to the rest of my code, in order to avoid possible clashes between licenses if both might apply to the same file.When distributing using OGL, I am free to describe content that is covered and not covered by the OGL, provided I don't mis-represent the true OGL content. I.e. I cannot re-license or alter the copyright of the D&D 5E SRD, but I can have a file in the same folder that I authored licensed under Apache 2.0, or even have a file with sections licensed differently depending on provenance, provided everything is clearly marked.Anyone using my work and further distributing will have to decide whether to comply with the OGL parts, and if necessary remove anything derived from OGL content. This is a realistic prospect, since the D&D specific code will be less generally applicable than the machine learning parts.This is another reason to separate code that simulates D&D rules from code that implements machine learning algorithms.Plenty of hobby programmers write stuff for D&D without care for licensing, and I could too, because I have no intent for this work to become popular. However, I want to do this as correctly as possible for my own peace of mind. So my main question is: Have I interpreted this correctly, or are there additional rules/restrictions I need to account for?
Creating an open-source project that includes Open Game License 1.0a content
license compatibility;software development;open game license