Halite II Replay Visualizer
Watch .hlt replays of the Halite II AI programming
game — right in your browser.
No replay handy? Watch the demo match
What is Halite II?
Halite II is an artificial-intelligence programming challenge originally created by Two Sigma in 2017. You don't play it with a controller — you write a bot that plays for you. Each turn, every player's bot commands a fleet of spaceships: fly across the map, dock planets to mine halite and produce new ships, and fight enemy fleets for control. The last fleet standing — or the strongest when the turn limit hits — wins.
The original game and tools are open source in the HaliteChallenge/Halite-II repository.
A modern Halite II engine, rewritten in Zig
This visualizer is built for margual56/halite2, an updated, from-scratch implementation of the Halite II engine written in Zig — fast, dependency-free, and ready to run locally.
- Download the engine from the releases page.
- Write your bot starting from the
starter-packsfolder — available for Python, Go, Rust and Zig — or try the bot editor. - Run a match, e.g.
halite2 "python3 MyBot.py" "python3 MyBot.py"— the engine writes areplay.hltfile. - Drop the replay here and watch your bots fight.