Show HN: Swarm – Program a colony of 200 ants using a custom assembly language
By
armandhammer10
We built an ant colony simulation as an internal hiring challenge at Moment and decided to open it up publicly.
You write a program in a custom assembly-like (we call it ant-ssembly) instruction set that controls 200 ants. Each ant can sense nearby cells (food, pheromones, home, other ants) but has no global view. The only coordination mechanism is pheromone trails, which ants can emit and sense them, but that's it. Your program runs identically on every ant.
The goal is to collect the highest percentage of food across a set of maps. Different map layouts (clustered food, scattered, obstacles) reward very different strategies. The leaderboard is live.
Grand prize is a trip to Maui for two paid for by Moment. Challenge closes March 12.
Curious what strategies people discover. We've seen some surprisingly clever emergent behavior internally.
Comments URL: https://news.ycombinator.com/item?id=47270807
Points: 9
# Comments: 3
You might also wanna read
How wind and solar made Spain one of Europe's cheapest electricity markets
Spain's wholesale electricity prices have dropped dramatically to become among Europe's cheapest, averaging €44/MWh in early 2026 compared t
Exploring the Butlerian Jihad: Why Dune's world has no AI and what it means for our future
An opinion piece exploring the absence of AI in Frank Herbert's Dune universe through the concept of the Butlerian Jihad, connecting it to c
Malaysia enforces social media ban for children under 16, requiring age verification from platforms
Malaysia has begun enforcing a ban on social media accounts for children under 16, requiring platforms like Facebook, Instagram, TikTok, and
Running Gemma 4 on a 2016 Xeon Server with No GPU: A Technical Walkthrough
The article describes running Gemma 4 (a 25B-parameter Mixture-of-Experts model) on a severely outdated server with a 2016 Intel Xeon E5-262
NVIDIA RTX Spark — Slim Laptops & Small Desktops
Microsoft and NVIDIA announce new Windows PCs accelerated by RTX Spark at GTC
Microsoft and NVIDIA announced a collaboration at NVIDIA GTC to create the world's most powerful and efficient thin-and-light Windows PCs, a
