Game::Life::Fast - Perl extension for playing with the Game of Life, but this is a fast-standar version.


NAME

Game::Life::Fast - Perl extension for playing with the Game of Life, but this is a fast-standar version.


SYNOPSIS

        use Game::Life::Fast;
        sub myprint{
                my ($gr, $width, $height) = @_;
                foreach my $y( 0..$height-1 ){
                        print substr( $gr, $y * $width, $width ) . $/;
                }
                
        }
        my $grid_width = 80;
        my $grid_height = 24;
        my $grid = ' ' x ($grid_width*$grid_height);
        my $small_grid = "XXXXXX     X     X     X     X";
        myprint $grid, $grid_width, $grid_height;
        print "\nPress ENTER to continue...";
        <>;
        print "\n";
        copy_grid( $small_grid, 5, 5, $grid, $grid_width, $grid_height, ($grid_width-5)/2, ($grid_height-5)/2);
        while( process( $grid, $grid_width, $grid_height, 'X', ' ' ) ){
                myprint $grid, $grid_width, $grid_height;
                print "\nPress ENTER to continue...";
                <>;     
                print "\n";
        }


DESCRIPTION

Stub documentation for Planets, created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited.

Blah blah blah.

EXPORT

None by default.


SEE ALSO

Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.

If you have a mailing list set up for your module, mention it here.

If you have a web site set up for your module, mention it here.


AUTHOR

A. U. Thor, <a.u.thor@a.galaxy.far.far.away>


COPYRIGHT AND LICENSE

Copyright (C) 2008 by A. U. Thor

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.