In the NSF-funded DecodeNYC program at the American Museum of Natural History, middle school students use the agent-based game and simulation programming environment StarLogo Nova to use, modify, decode, and create scientific models to test different strategies for fighting Lyme disease and answer questions about their urban ecosystem.