🍺 BREW Explorer

← all formulae

homeworlds

brew install homeworlds v1.1.0_3 BSD-2-Clause

C++ framework for the game of Binary Homeworlds

4
30-day installs · #11169
14
90-day · #10927
107
365-day · #8993
22
★ GitHub stars · updated 5mo ago

Runtime dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "wxwidgets"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C++ framework for the game of Binary Homeworlds",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:40+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "homeworlds",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-03-04T20:06:15Z",
  "github_readme_excerpt": "# Homeworlds\n\nThis is a C++ framework for working with the game of Binary Homeworlds,\na two-player game of strategy and tactics that might aptly be described\nas \"space chess\".  Homeworlds is normally played with a set of Icehouse\npieces in four colors, and without a board; the pieces shift on and off\nthe table during the game to represent star systems and spaceships.\nThe goal of the game is to eliminate all of the ships defending your\nenemy\u0027s homeworld: by moving in a larger ship to capture them, by\nsending in fleets of the appropriate colors to catastrophe them, or by\nsending in those fleets to catastrophe the enemy\u0027s binary star system\nitself.\n\n\n## Components\n\nThis project consists of five main components:\n\n\n### C++14 library code in `core-src/`\n\nThis poorly structured library includes C++ data structures for\n`SingleAction`, `WholeMove`, `PieceCollection`, `StarSystem`, and `GameState`.\nIt also includes these facilities:\n\n- `ApplyMove`: apply a `WholeMove` to a `GameState`\n\n- `AllMoves`: generate all possible `WholeMove`s from a given `GameState`\n\n- `InferMove`: \"fill in the blanks\" in an incomplete `WholeMove` such as `build g1`,\n    given the current `GameState`\n\n- `AIMove`: pick the best move from among all the possible `WholeMove`s following\n    the current `GameState`\n\n\n### `homeworlds-cli`, a command-line game analyzer\n\nC++14 source code in `core-src/`.\n\nThis command-line utility brings together all of the above library code.\nYou can use it to play a game against the computer, by alternately entering\nyour own moves and the special command `ai_move`.\n\nTo run the C++ unit tests, first install GTest\n(instructions are [here](https://stackoverflow.com/a/46611467/1424877))\nand then run `make test`.\n\n\n### `homeworlds-wx`, a graphical game interface\n\nC++14 source code in `wxgui-src/`.\n\nThis GUI program uses the wxWidgets library, and is my experiment with\na graphical Homeworlds program. Use the mouse to drag pieces around on the\nboard, and then click \"Done\" to end y",
  "github_repo": "Quuxplusone/Homeworlds",
  "github_stars": 22,
  "github_topics": [],
  "homepage": "https://github.com/Quuxplusone/Homeworlds/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 4,
  "installs_365d": 107,
  "installs_90d": 14,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "homeworlds",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 11169,
  "rank_365d": 8993,
  "rank_90d": 10927,
  "raw_hash": "dc0cbe4337596b19",
  "recommended_dependencies": [],
  "revision": 3,
  "ruby_source_path": "Formula/h/homeworlds.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.1.0",
  "versioned_formulae": [],
  "why_use_this": null
}