I'm making a quiz-game based on map territories with a system similar to the Risk game (except there are no tanks but tickets).
The map isn't the world but a custom map that I designed and I'll finish in the future, I just made the logic links among territories.
There are 10 territories who represent 10 different matters. The game I'm developing is for Android (Java), but I'm writing a prototype of the map in C# with Visual Studio to see if the idea of the map is good.
Now, I'm not asking for C# code to use in my app, I'm asking for a programming strategy I should use to implement my map in Code.
I wrote the class Zone
to define each territory. I also wrote the class GameMap
which implements 10 different Zones.
In the game logic, it's expected that just as risk, to attack 1 territory, you must have one near it. How can I implement at best this concept, of near and far territories in a dynamic and not long-static way?
The final result of what I want would be: I decide which territory attack in order to my owned territories. How can I proceed being as much as dynamic as I can and not write really long and in-efficient code?
EDIT: I'm no more looking for C# help. I'm directly implementing the map in Java and Javascript in both Client and Server sides.