Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Pixels Fighting (pixelsfighting.com)
2 points by Sohcahtoa82 on July 8, 2020 | hide | past | favorite | 2 comments


What's the algorithm for this? Is it just Conway's game of life?


The JavaScript running it isn't minified or obfuscated.

It's basically a weighted random number, with the weight being determined by the colors of the neighbors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: