Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Prolegemona To A Future Scripting Language: Game Of Life In Perl 6

by jryan (Vicar)
on Apr 26, 2003 at 22:31 UTC ( #253416=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $newgrid[$x][$y] = given @.grid[$x][$y]
        {
          when 0   { 1 if $live == 3};
          when 1   { 1 if 1 <  $live < 4 }:
        } || 0;
    
  2. or download this
    $newgrid[$x][$y] = given @.grid[$x][$y] {
          when 0  { 1 if $live == 3};
          when 1  { 1 if 1 <  $live < 4 };
          default { 0 };
        };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://253416]
help
Chatterbox?
[choroba]: Most coffees? Depends on the country :-)
[choroba]: oh, you mean a cup with no water.
[Discipulus]: you are rigth, gory details but i remember from dunnowhere that concetrate caffein is more effective than brown water almost coffe..
[LanX]: prepared both kinds a 100 times and thinks the amount of grind code is about the same
Discipulus less effective i mean
[LanX]: (french press vs espresso cooker )
[LanX]: s/code/coffee/
Discipulus progammer is an organism that transforms caffeine into software..

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-01-16 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (148 votes). Check out past polls.