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