| 1 | viewer.js and viewer.css are built (src/build.mjs) from wmzy/sanguosha, https://github.com/wmzy/sanguosha, commit |
| 2 | 8f4b693b654a6365d143a80003877219f6e08b22 (2026-09-28): its engine, replay player and the logic of its React table (its |
| 3 | hooks, prompts, action building and general selection), with this project's entry and table drawing, src/viewer/ (MIT, but for its stylesheet, below). |
| 4 | |
| 5 | The drawing follows 无名杀 (noname), https://github.com/libnoname/noname, commit 90b58bb9934edb1712fd187a80c8323b7aeabaf3, |
| 6 | GPL-3.0: viewer.css reproduces the layout and woodden theme of its stylesheets (layout/mobile, layout/newlayout, |
| 7 | layout/default, theme/woodden, theme/style/hp), so treat it as covering GPL-3.0 material. The pictures and fonts it uses |
| 8 | are the art pack in art/, taken from 无名杀, with its own NOTICE (art/NOTICE): its 立绘 and card art are mostly the |
| 9 | commercial 三国杀 art of 游卡桌游, NOT CLEARED FOR PUBLICATION. |
| 10 | |
| 11 | Also bundled, each under the MIT licence: React, React DOM and scheduler (Copyright (c) Meta Platforms, Inc. and |
| 12 | affiliates) and @linaria/core (Copyright (c) 2017 Callstack). |
| 13 | |
| 14 | The upstream's licence: |
| 15 | |
| 16 | MIT License |
| 17 | |
| 18 | Copyright (c) 2025 三国杀项目作者 |
| 19 | |
| 20 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 21 | of this software and associated documentation files (the "Software"), to deal |
| 22 | in the Software without restriction, including without limitation the rights |
| 23 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 24 | copies of the Software, and to permit persons to whom the Software is |
| 25 | furnished to do so, subject to the following conditions: |
| 26 | |
| 27 | The above copyright notice and this permission notice shall be included in all |
| 28 | copies or substantial portions of the Software. |
| 29 | |
| 30 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 31 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 32 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 33 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 34 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 35 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 36 | SOFTWARE. |