Hi,

I used the following code to initialize  the offspring array:

     def create_pop
     #Define an offspring array that will hold the copies of the @board 
array
     @offspring = []
     4.times{ @offspring << @board.clone }
     end

At the moment everything is in one huge class 'class Game', though I 
plan to have one class for game setup, and one for the evolutionary 
algorithm.

Cheers,
Jen.

On 17/03/11 17:23, JP Billaud wrote:
> Your code should work just fine. How did you initialize the @offspring
> array?
>
> JP
>