# 使用 Homebrew 安装 homeworlds

查看 homeworlds 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:homeworlds
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install homeworlds
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:homeworlds
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** C++ framework for the game of Binary Homeworlds
- **主页:** <https://github.com/Quuxplusone/Homeworlds/>
- **仓库:** <https://github.com/Quuxplusone/Homeworlds>
- **最后更新:** 2026-07-08T03:44:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- homeworlds-cli (别名)
- homeworlds-wx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.0
## 项目历史与用法

Homeworlds is a C++ implementation framework for Binary Homeworlds, the abstract strategy game associated with Icehouse/Pyramid pieces. The package is less a general-purpose game engine than a programmer's toolkit: it exposes game-state data structures, move generation, move application, incomplete-move inference, a command-line analyzer, a wxWidgets GUI experiment, and a Python extension around the same core rules.

### 项目历史

Arthur O'Dwyer's repository presents the project as a C++14 codebase for studying and playing Binary Homeworlds, including a text interface to a simple AI. The README explains the internal model in terms of `SingleAction`, `WholeMove`, `PieceCollection`, `StarSystem`, and `GameState`, then layers command-line, GUI, and Python-extension interfaces on top of that core.

The repository also includes a SuperDuperGames.org archive import path: a partial mirror of more than 700 game transcripts and scripts to translate those transcripts into formats consumed by `homeworlds-cli` and `libhomeworlds`. That gives the package a historical-data angle uncommon for small board-game CLI packages.

### 采用历史

The project entered package-manager culture through Homebrew as a niche game/programming formula rather than as a broad end-user application. Its audience is mostly Binary Homeworlds players, combinatorial-game experimenters, and C++ users interested in AI search over an unusually high-branching abstract game.

### 使用方式

The `homeworlds-cli` executable can be used to play or analyze a game by entering moves and asking the built-in AI for a move. The library side is useful for generating legal moves, applying moves to a state, and experimenting with alternative evaluation or pruning strategies.

The package also ships `homeworlds-wx`, but the README frames it as an experiment with a graphical interface. For package users, the CLI and C++/Python library surfaces are the more reproducible pieces.

### 为什么软件包爱好者会关心

Homeworlds is a good example of the long tail that keeps Homebrew interesting: a formula can package a specialized research/play tool, not only mainstream developer utilities. It also demonstrates the packaging friction around C++ GUI dependencies and small AI/game analyzers that are useful to a narrow but technically engaged community.

### 时间线

- 2011: GitHub repository lineage is visible through repository metadata embedded in GitHub pages.
- 2015: Tagged releases `v1.0.0` and `v1.1.0` appear in the Git repository.
- 2015: `libhomeworlds` package metadata identifies version 1.1.0 and describes the Python extension as AI for Binary Homeworlds written in C++.

### Related projects

- Binary Homeworlds and Icehouse/Pyramid games provide the game rules and physical-piece context.
- SuperDuperGames.org is related because the repository includes a partial archive and conversion scripts for historical game transcripts.
- wxWidgets and Python extension tooling are related implementation surfaces around the C++14 core.

### 来源

- Git tags and setup.py: tagged 1.x releases and libhomeworlds metadata.
- GitHub README: project description, components, CLI, GUI, Python extension, and SuperDuperGames archive.
- Homebrew formula metadata from input: package-manager presence and executables.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/homeworlds.yml](https://github.com/mxcl/pkgdb/blob/main/combined/homeworlds.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
