We present TorchCraft, a library that enables deep learning research on Real-Time Strategy (RTS) games such as StarCraft: Brood War, by making it easier to control these games from a machine learning framework, here Torch. This white paper argues for using RTS games as a benchmark for AI research, and describes the design and components of TorchCraft. TorchCraft is a BWAPI module that sends StarCraft data out over a ZMQ connection. This lets you parse StarCraft data and interact with BWAPI from anywhere. The TorchCraft client should be installed from C++, Python, or Lua. We provide off-the-shelf solutions for Python and Lua.
Features
- We provide an example C++ CMake project in examples/cpp/
- You will need to have a license of StarCraft: Brood War.
- A bridge between Torch and StarCraft
- TorchCraft is a BWAPI module that sends StarCraft data out over a ZMQ connection
- Requires zstd-devel 1.1.4
- Requires zeromq 4+
License
BSD LicenseFollow TorchCraft
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of TorchCraft!