跳到正文

Villager Chess

作者:johnnyscriptt

Play chess against villagers! A Play Chess button on the trade screen starts a full game - their skill scales with trading level, from Novice pushover to near-unbeatable Master.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

♞ Villager Chess

Ever wondered if that Master-level librarian is actually smart? Challenge them to chess and find out.

Open any villager’s trade screen and hit Play Chess. A full chess board opens right there – no items, no commands, no setup. You always play White.

How strong are they?

A villager’s trading level sets its chess strength:

| Villager level | Chess strength |
|—|—|
| Novice | Hangs pieces, misses mates |
| Apprentice | Punishes only blatant blunders |
| Journeyman | Solid club beginner |
| Expert | Strong; rarely errs |
| Master | Near-unbeatable |

So a fresh Novice is a free win – but if you want a real fight, go trade one up to Master first.

How to play

  • Click a piece, then click one of its highlighted squares.
  • Pawns reaching the last rank open a promotion picker.
  • Full rules are enforced: castling, en passant, threefold repetition, the 50-move rule, and insufficient-material draws.
  • Resign with the button, or just close the board. Walking more than 16 blocks away, the villager dying, or disconnecting abandons the game.
  • No stakes, no rewards – just for fun (and bragging rights).

Under the hood

  • A from-scratch pure-Java chess engine: 0x88 board, full move legality, Zobrist hashing – move generation verified against perft reference counts.
  • Search: negamax with alpha-beta pruning, iterative deepening, and quiescence search, running on a background thread so the server never stutters.
  • Fully server-authoritative: the server owns all game state; clients only send move attempts. No cheating with a modified client.

Compatibility

Plays nicely with the other Villager Games mods – the trade-screen buttons stack instead of overlapping.

Requirements

  • Minecraft 26.2
  • Fabric Loader ≥ 0.19.3 + Fabric API
  • Java 25
  • Install on both client and server (works in singleplayer out of the box)

常见问题

Villager Chess 支持哪些 Minecraft 版本?

Villager Chess 支持 Minecraft Java 版 26.2–26.3,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Villager Chess 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

johnnyscriptt 的其他作品

查看全部 →