Auto-translated
Here are a couple more new maps.
Attachments
3
3 files attached • Total size: 1.5 MB
New here? I'm Roha — want a quick tour?
/* p1
Visual C++ 6.0
Console application
Radius */
#include
#include
main ()
{
int a, b, c, d;
FILE *g;
/* a - radius for which the calculation is performed
b - maximum value for which the square root is calculated
c - counter
d - calculated value of the circle boundary */
g = fopen ("1.txt", "w");
for (a = 1; a < 61; a++) /* outer radius 1/8 of the circumference */
{
b = (int) (a / sqrt (2) + 2); /* upper limit of calculations */
fprintf (g, "r = %i\n", a);
for (c = 0; c < b; c++)
{
if (c == a) break;
d = (int) (sqrt (a * a - c * c - .0001) + 1);
if (d < c) break;
if (d == a) continue;
fprintf (g, "%i - %i\n", c, d);
}
fprintf (g, "\n");
}
fclose (g);
return 0;
}
"Eador. Genesis". Perfect for a long, thoughtful single-player experience. I like it more than the third and fifth installments, but it requires more thinking and has a higher barrier to entry.