Show HN: Swarm – Program a colony of 200 ants using a custom assembly language
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: 6 # Comments: 1
Continue reading on Hacker News
Opens in a new tab



