Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl6
    
    ...
            }
        }
    }
    
  2. or download this
        method will_live(int $y, int $x) returns bool
        {
    ...
    
            @.grid[$y][$x] ?? $alive == 2|3 :: $alive == 3;
        }