# Credits and licences

Twistmate's own code, game modes, special-piece artwork (rifle, cannon, crown, headband, sword, flag, amazon badge,
tank, wall), monster artwork (statue, Old Man, Stalker, mask), mode illustrations and the visual effects were made for
this project and are released under the **GNU AGPL-3.0** (see `LICENSE`).

Third-party files keep their own licences, listed below.

## Chess engine
- **Stockfish** (GPLv3), JavaScript build **stockfish.js 10.0.2** by Nathan Rugg.
  Source code: https://github.com/nmrugg/stockfish.js and https://github.com/official-stockfish/Stockfish

## Online play
- **PeerJS** 1.5.4 (MIT licence), https://github.com/peers/peerjs. Online games connect through the free public
  PeerJS server (0.peerjs.com), which only introduces the two browsers to each other.

## Boards and pieces (from the Lichess project, https://github.com/lichess-org/lila, licences per its COPYING.md)
- **Board images** (`public/images/board`): the lila authors and pirouetti, AGPLv3+
- **Piece sets:**
  - cburnett: Colin M.L. Burnett, GPLv2+
  - merida: Armando Hernandez Marroquin, GPLv2+
  - chessnut: Alexis Luengas, Apache 2.0
  - fantasy, celtic, spatial: Maurizio Monge, MIT
  - rhosgfx: RhosGFX, CC0 1.0
  - mpchess: Maxime Chupin, GPLv3+
  - kiwen-suwi: neverRare, CC BY 4.0
  - firi: James Faure, CC BY 4.0
  - shapes: flugsio, CC BY-SA 4.0
  - pirouetti: pirouetti, AGPLv3+
  - pixel: therealqtpi, AGPLv3+
  - letter: usolando, AGPLv3+

## Sounds (all CC0 1.0, public domain)
- **Wood set** (move, capture, check, notify): Kenney, "Impact Sounds" (kenney.nl), CC0 1.0
  (`impactWood_light_000`, `impactWood_medium_002` and related files, MP3 conversions from the chessroyale project).
- **Marble set**: "chess_move_on_alabaster.wav" by mh2o (https://freesound.org/s/351518/) and "Twig Snap" by
  alegemaate (https://freesound.org/s/364699/), both CC0 1.0, as collected by ShareChess
  (https://github.com/sharechess/sharechess, `public/CREDITS.md`).

## Horror modes
Based on the SCP Foundation wiki (https://scpwiki.com), licensed **CC BY-SA 3.0**:
- SCP-173 "The Sculpture" by Moto42: https://scpwiki.com/scp-173
- SCP-106 "The Old Man": https://scpwiki.com/scp-106
- SCP-008 "Zombie Plague": https://scpwiki.com/scp-008
- SCP-035 "Possessive Mask": https://scpwiki.com/scp-035

The mode descriptions that adapt these concepts are shared under CC BY-SA 3.0 as well. All monster artwork is
original. The well-known SCP-173 photo is **not** used, since it is not freely licensed.
"The Stalker" is an original character, not based on any film franchise.

## Not affiliated
Twistmate is not affiliated with or endorsed by Stockfish, Lichess, Chess.com, Kenney, ShareChess or the SCP Foundation.
Some mode ideas (such as sniper bishops, portals or infinite pawns) are common chess-variant concepts; all
implementations, names, texts and artwork here are original.
