View Single Post
  #316  
Old January 7th, 2009, 10:25 AM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Did you know that? (Dominions trivia)

Quote:
Originally Posted by lch View Post
That might make sense, it would be pretty easy to get implemented in a for/while-loop. A better word may be concentric (quarter)circles than a spiral, if you want to be exact.
What they are basically doing (in my opinion)

A: Trunc (SQRT(units in formation))
B Form square

x..
...
1.x where x is the trunc'd sqrt.

C. Fill remaining:

The way to test this is to build 16of one unit, then 1 each of other units.
Reply With Quote