2023-05-02 15:17:09 +02:00

36 lines
1.2 KiB
Markdown

# Xiangqi - Chinese chess for Minetest
## Usage
The board currently does not have a crafting recipe. You currently need
to get it from the inventory in creative mode.
Right-click a figure to select it (or, if it is already selected,
deselect it). The selected figure is marked green, and the possible
target positions are marked, with (in particular) targetable figures
from the opposing side marked blue. Left-click on the target to move
the selected figure to the target position.
The figures face the side that should make a move.
Wikipedia has a page on the [rules of Xiangqi][xiangqi-rules].
[xiangqi-rules]: https://en.wikipedia.org/wiki/Xiangqi#Rules
## Limitations/To-do
* The game does not check whether the move results in the king/general
(帥/將) being captured.
* The game does not check for check(mate)s.
* The player is not notified when the game ends.
* The moves are not recorded.
* The figures may appear weird in certain circumstances.
## Licenses
The source code is licensed under [GNU AGPLv3][agplv3] ONLY. Textures
are licensed under [CC0][cc0] 1.0 (as these are likely ineligible for
copyright in the first place).
[agplv3]: https://www.gnu.org/licenses/agpl-3.0.en.html
[cc0]: https://creativecommons.org/publicdomain/zero/1.0/legalcode