private int CountFreeNeighborEdges(GameState gameState, Edge claimEdge)
 {
     return(gameState.Map.GetFreeEdges(claimEdge.Source.Id).Count +
            gameState.Map.GetFreeEdges(claimEdge.Target.Id).Count);
 }
 private int CountMyNeighborEdges(GameState gameState, Edge claimEdge)
 {
     return(gameState.Map.GetPunterEdges(claimEdge.Source.Id, gameState.CurrentPunter).Count +
            gameState.Map.GetPunterEdges(claimEdge.Target.Id, gameState.CurrentPunter).Count);
 }
 private int CapturedMinesCount(GameState gameState, Edge claimEdge)
 {
     return((IsNotCapturedMine(gameState, claimEdge.Source) ? 1 : 0) +
            (IsNotCapturedMine(gameState, claimEdge.Target) ? 1 : 0));
 }