// System.out.println( village);
FileWriter fos = new FileWriter( new File( "results.csv"));
Ally ally = new Ally( 1365);
// System.out.println( ally.toString());
for( Player p : ally.getMembers()) {
for( Village v : p.getVillages( )) {
String villageName = v.getName().replace( "\r", "").replace( "\n", "");
MapSquareType type = MapWorld.getMapSquare( v.getCoordX(), v.getCoordY()).getType();
String str = String.format( "\"%s\",\"%s\",%d,%d,%s\n", p.getName(), villageName,
v.getCoordX(), v.getCoordY(), type.getName());