blob: 4fd75b052846dcd9dff6bffc87b624946df92727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Entertain Area · HyBBX
Optional **Main / standalone Main** feature plugin. Chess is a **fixed** part of
Entertain (no separate `chess=` INI key). AmigaOS builds force the plugin **OFF**.
## Enable
| Layer | Setting |
|-------|---------|
| Build | `-DHYBBX_PLUGIN_ENTERTAIN=ON` (default on POSIX; forced off on AmigaOS) |
| INI | **`[entertain] enabled=yes`** (not under `[networks]`) |
| Role | `hybbxd` Main or standalone Main only |
```ini
[entertain]
enabled = yes
```
Legacy `[networks] entertain=yes` is still read with a warning — prefer `[entertain]`.
Log: `[entertain] enabled=yes …` then `[entertain] plugin loaded — chess_max_games=…`
When Entertain is off, `/chess` stays **Unknown command** (by design).
## Chess
| Command | Action |
|---------|--------|
| `/chess help` | Command list |
| `/chess new` | Create game (White) |
| `/chess join [id]` | Join as Black |
| `/chess watch [id]` | Spectate |
| `/chess move e2 e4` | Move (`/mv e2 e4` or `/mv e2e4`) |
| `/chess resign` / `/chess draw` | Resign / offer-accept draw |
| `/chess list` / `/chess board` / `/chess clear` | List / show / free finished slots |
| `/play …` | Alias for `/chess` |
| `/proxychess …` | **Stub** — future chess via mains_proxy mesh |
Limits: no castling, no en passant; pawn promotes to Q/R/B/N. Compact ASCII board.
## Related
| Goal | Doc |
|------|-----|
| Topology | [TOPOLOGY.md](TOPOLOGY.md) |
| Commands | [COMMANDS.md](COMMANDS.md) |
| Areas | `share/areas.yaml` · Entertain menu (User+) |
|