#gamedev trick: If you need to calculate the sum of a bunch of random events, it can be approximated very cheaply using the normal approximation of binomial distributions.

Quick writeup since bsky posts can only be so long: https://seequ.dev/posts/005-binomial-distribution/

Comments