Implementing bullet shadow in wave surfer is very easy
you just set danger covered by shadow to 0
however, calculating bullet shadow is not trivial
the first bot featuring this technique is Diamond, and it’s open source!
Just have a look at it, you’ll know that better.