The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

TITLE

glider - Send a glider (from J. H. Conway's Life) across a grid

SYNOPSIS

 glider
 glider --help
 glider --version

OPTIONS

--display

 --display 4

This option specifies the grid display interval in number of steps.

The default is --display 0, which causes display only at the end.

--fast

If this Boolean option is asserted, Game::Life::Fast is used for the calculaton. If not, Game::Life is used. The selected package must be installed on your system.

The default is --fast, but this can be negated with --nofast.

--help

This option displays the documentation for this script. The script then exits.

--size

 --size 10000

This option specifies the size of the grid.

The default is --size 1000.

--steps

 --steps 42

This option specifies the number of steps to run.

The default is $size * 4 - 20.

--time

If this Boolean option is asserted, the elapsed time is displayed. This elapsed time includes only processing, but may be less accurate if --display is asserted.

--version

This option displays the version of this script. The script then exits.

DETAILS

This Perl script executes a pre-programmed configuration of John Horton Conway's game of Life. It starts a glider (that is,

          X
           X
         XXX

) in the top left corner of a grid of specified size and sends it across the grid. The real purpose is to enable informal timing versus other implementations.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2020-2022 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.