Foxes & Rabbits
Foxes & Rabbits was one of the first programming projects I got into as a very young coder, back in the days of Programming magazines and BBC Basic. Way back when, the internet wasn't even a glimmer in Tim Burners-Lee eye, and cassette tapes were the only affordable storage media for home coders. No AI then, apart from in the Terminator movie, but it was fun to rekindle that old interest using Claude Ai.
Foxes and Rabbits is a small living ecosystem for your website. Grass grows on a grid, rabbits eat it, and foxes hunt rabbits. Each animal simply moves, feeds, and breeds by a few simple rules—no planning involved—and from that emerges the rise and fall visible in the population graph below.