Some games consider visibility not just from a point source, which is the usual for the visibility problem but from an area. Particularly games, which only allow grid positions, checking visibility from only one point - say the center - leads to artifacts. But we can make some assumptions that may prove to be valuable, because of the "gamey" nature of the problem.
Let
We make a further assumption that the
We also assume that
Let
We need to prove that the algorithm terminates and
The set
Obviously,