Does the player need to count the cells?
Is a diagonal move considered the same as a horizontal move?
And if the boundary between the respawn center is blurred graphically, and it is not possible to accurately determine the type of cells for all of them? This happens on many landscapes.
And if some cells are covered by objects, and it is difficult to determine the type of territory under them?
Are mountains considered territory for the General or not? In general, many clarifying questions will arise...
This is a rough version. If it is refined to eliminate ambiguities and add clarifying explanations with a screenshot and explanation of actions, it could be viable.

UTC+03:00, icq 593626431