# DeckNForge — Licenses

DeckNForge is open source. Two different licenses apply, depending on what
part of the project you are using.

---

## 1. Game content — CC BY-SA 4.0

The **game rules, label text, inscription text, monster labels, and any
printable sheets** (everything in `public/downloads/` and the rules in
this repository) are licensed under the
**Creative Commons Attribution-ShareAlike 4.0 International License**.

You are free to:

- **Share** — copy and redistribute the material in any medium or format
- **Adapt** — remix, transform, and build upon the material for any
  purpose, even commercially

Under the following terms:

- **Attribution** — You must give appropriate credit to *DeckNForge*,
  provide a link to this repository, and indicate if changes were made.
  You may do so in any reasonable manner, but not in any way that
  suggests the licensor endorses you or your use.
- **ShareAlike** — If you remix, transform, or build upon the material,
  you must distribute your contributions under the same license as the
  original.

Full license text: https://creativecommons.org/licenses/by-sa/4.0/legalcode

Short summary: https://creativecommons.org/licenses/by-sa/4.0/

---

## 2. Website code — MIT License

The **website source code** (everything in `site/src/`, the Astro
configuration, the package files, and any JavaScript / CSS / TypeScript
in this repository) is licensed under the **MIT License**.

```
MIT License

Copyright (c) 2026 DeckNForge contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```

---

## 3. Logo and key art

The DeckNForge **logo** (`public/logo.png`) and **background art**
(`public/background.png`) are © DeckNForge and are NOT covered by the
licenses above. You may use them only to refer to the DeckNForge
project itself (e.g., when writing about it, when distributing an
unmodified printable sheet, etc.). You may not use them as the brand
of a derivative game.

If you fork DeckNForge to create your own variant, please replace the
logo and key art with your own.

---

## 4. Contributing

By submitting a contribution (a pull request, an issue with attached
content, a playtest report, etc.) you agree that your contribution is
licensed under the matching license above (CC BY-SA 4.0 for content,
MIT for code).
