logoalt Hacker News

ogigyesterday at 9:15 AM2 repliesview on HN

I've spent the last months building a videogame: Cardume [1], its a pvp game where 2 players battle using a swarm of thousands of cells. It uses Reynold's boids, Couzin flocking behaviors and diffuse fields to generate a mini ecological simulation each game. The sim is pretty well optimized, handling 12k agents at 60fps in a medium hardware machine. It also has some pretty cool visuals. Any feedback appreciated, the Store went page online this last week and I'm still working on the presentation.

[1]: https://store.steampowered.com/app/4912940/Cardume/


Replies

phaseryesterday at 9:53 AM

Awesome game! Small suggestion, for each paragraph that is in your description, you can add a small gif-style webm video. It's kind of expected now for Steam games, and specially because it's such a unique game it would make an easier introduction to the concept. Looking forward to play it :D

show 1 reply
coldstartopsyesterday at 9:34 AM

Hi ogig, funilly enough I was also running this boids experiment a few months ago. Managed to get around 8k at 60 fps on 1 thread on my cpu, using golang.

My goal for this experiment was to encode the optimal cache data structures into meta programming generators such that claude can write high level DSL and generate down to this level of simulations. I am curious if you had such an approach also.

show 1 reply