public static void Main()
for (int i = 0; i < w; i++)
Console.WriteLine(cx + ", " + cy);
} else if ((dir % 4) == 1)
for (int i = 0; i < h; i++)
Console.WriteLine(cx + ", " + cy);
} else if ((dir % 4) == 3)
for (int i = 0; i < w; i++)
Console.WriteLine(cx + ", " + cy);
} else if ((dir % 4) == 3)
for (int i = 0; i < h; i++)
Console.WriteLine(cx + ", " + cy);