# @civ-clone/core-player 中文文档

规范地址：https://npmcn.com/package/%40civ-clone/core-player/

版本：0\.1\.10
npm 元数据更新时间：2026-10-08T06:12:36.228Z
中文译文更新时间：2026-11-09T22:22:10.869Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40civ-clone/core-player
原文对照：https://npmcn.com/package/%40civ-clone/core-player/?lang=original
项目主页：https://github.com/civ-clone/core-player#readme
源码仓库：https://github.com/civ-clone/core-player

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：30.9 kB，57 个文件
- TypeScript 类型：未声明
- 运行依赖：5 个
- 首次发布：2021-01-06T20:50:13.472Z
- 最新版本发布：2026-10-08T06:12:36.027Z
- 近 30 天下载量：1986（2026-10-10 至 2026-11-08，npm 官方下载统计）
- 已发布版本数：11（近 12 个月 3 个）

## 中文简介

何为核心要素 `Player` ,包括 `CurrentPlayerRegistry` 财务报告和审定财务报表 `PlayerAction`编号.

## 安装

```sh
npm install @civ-clone/core-player
```

也可以使用：`pnpm add @civ-clone/core-player`、`yarn add @civ-clone/core-player`、`bun add @civ-clone/core-player`

## README

# 核心玩家

何为核心要素 `Player` ,包括 `CurrentPlayerRegistry` 财务报告和审定财务报表 `PlayerAction`编号.

包括 `Rule`编号:

-   `Action` 定义哪些 `PlayerAction`s 从 `Player.actions`。 。 。 .
-   `Added` 当一个 `Player` 将添加.
-   `Defeated` " "被打败了.
-   `TurnEnd` 当一个 `Player`转弯了.
-   `TurnStart` " 开始.

## 常见问题

### @civ-clone/core-player 是什么？

何为核心要素 Player ,包括 CurrentPlayerRegistry 财务报告和审定财务报表 PlayerAction编号\.

### 如何安装 @civ-clone/core-player？

在项目目录运行 npm install @civ-clone/core-player，或使用 pnpm add / yarn add / bun add。

### @civ-clone/core-player 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/civ-clone\_\_core-player 是否存在。

### @civ-clone/core-player 可以商用吗？

@civ-clone/core-player 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @civ-clone/core-player 的下载量有多少？

根据 npm 官方下载统计，@civ-clone/core-player 在 2026/10/10 – 2026/11/08 这 30 天内被下载 1,986 次，日均约 66 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @civ-clone/core-player 还在维护吗？

最新版本 0\.1\.10 发布于 2026/10/08（1 个月前）；至今共发布 11 个版本，其中过去 12 个月发布了 3 个；首次发布于 2021/01/07。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

