Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: More Betterer Game of Life

by eyepopslikeamosquito (Chancellor)
on Sep 26, 2017 at 09:15 UTC ( #1200097=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Organism;
    use strict;
    ...
    }
    
    1;
    
  2. or download this
    # tbench1.pl - Simple benchmark of Organism class.
    # Generate blinker test file with, for example:
    ...
    
    # Uncomment for tile dump
    # $org->dump_tiles();
    
  3. or download this
    # tgol3.t - Simple lidka test of Conway Game of Life Organism class
    use strict;
    ...
          is_deeply( \@cells, \@slidka100, "lidka final cell array" );
       }
    }
    
  4. or download this
    # tgol4.t - Simple standalone test of Organism.pm st_ functions
    use strict;
    ...
       test_one("Weird block one-b", 1, \@outcells, \@outcells2, 1);
       test_one("Weird block two",   2, \@incells,  \@outcells2, 1);
    }
    
  5. or download this
    # Add two numbers using only bitwise operators
    # See https://stackoverflow.com/questions/4068033/add-two-integers-usi
    +ng-only-bitwise-operators
    ...
       $sum0 == $sum1 or die "oops 0";
       $sum1 == $sum2 or die "oops 1";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1200097]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-12-18 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (466 votes). Check out past polls.

    Notices?