Swarm
Program a colony of 200 ants using a custom assembly language
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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.
HN · launched Mar 6, 2026 · 190 upvotes (top 4%) · 0 views
Niche: simulation games · 118 launches, 10 in the last 7 days ▼ -44% · Explore this niche →
Category and tags
- Education
- Dev tools
- B2C
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 118 launches in simulation games →
Could you build this?
Yes An in-browser virtual machine interpreter for a simple custom assembly language updating a 2D grid array on a canvas loop is a contained programming task easily generated by AI.
Discussion
20 comments analyzed.
Competitors mentioned: 2004 ICFPC Programming contest (similar ants/pheromone challenge)
Concerns raised: Simulator will be taken down after contest ends, no permanent access, Hexadecimal literal support broken in arithmetic operations, 64 operation step limit difficult to stay within
Feature requests: Server/client API to support multiple programming languages, Release winners' code and solutions, Blog post/showcase of winning strategies
Competitors
Other products that read as similar to this one : 72 launches clear the similarity bar, closest 8 shown.
Attention rank: #8 of 73 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 119 days after the earliest competitor.
- My 13-year-old built an ant colony tracker · hn · 2026-06-30 · 74 upvotes · similarity 0.48
- Swarm · ph · 2026-09-18 · 2 upvotes · similarity 0.47
- SwarmAgent · ph · 2026-09-24 · 1 upvotes · similarity 0.46
- Swarm Studio · ph · 2026-11-06 · 2 upvotes · similarity 0.45
- swarm-build · github · 2026-11-05 · 44 upvotes · similarity 0.45
- Swarm · ph · 2026-09-18 · 1 upvotes · similarity 0.44
- Open_SwarmForce · ph · 2026-10-26 · 10 upvotes · similarity 0.42
- Swarm Tracker · ph · 2026-10-07 · 2 upvotes · similarity 0.41
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.