What you are exploring
Uniform random points in a unit square have a probability of π/4 of falling inside the quarter-circle. Four times the hit fraction estimates π; larger samples generally reduce statistical error.
π̂ = 4 × (points inside quarter-circle / total points)