@civ-clone/core-player

中文文档
0.1.10发布于 2026/10/08MIT近 30 天下载 1986

The core elements of what a Player is, including the CurrentPlayerRegistry and PlayerActions.

原始使用文档

core-player

The core elements of what a Player is, including the CurrentPlayerRegistry and PlayerActions.

Includes the Rules:

  • Action to define which PlayerActions are returned from Player.actions.
  • Added triggered when a Player is added.
  • Defeated " " defeated.
  • TurnEnd triggered when a Player's turn ends.
  • TurnStart " " starts.

版本与发布记录

@civ-clone/core-player 共发布 11 个版本,首次发布于 2021/01/07;过去 12 个月发布了 3 个版本。

版本发布日期距今
0.1.10latest2026/10/081 个月前
0.1.92026/09/141 个月前
0.1.82026/09/131 个月前
0.1.72022/11/173 年前
0.1.62022/10/204 年前
0.1.52022/10/204 年前

关于 @civ-clone/core-player 的常见问题

@civ-clone/core-player 是什么?

The core elements of what a Player is, including the CurrentPlayerRegistry and PlayerActions.

如何安装 @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 和提交记录判断。