rules of bullet fly in 2D space with walls