NAME

Games::Solitaire::Verify::VariantParams - a class for holding the parameters of the variant.

VERSION

Version 0.03

SYNOPSIS

use Games::Solitaire::Verify::VariantParams;

my $freecell_params =
    Games::Solitaire::Verify::VariantParams->new(
        {
            seq_build_by => "alt_color",
        },
    );

FUNCTIONS

$variant_params->empty_stacks_filled_by()

What empty stacks can be filled by:

  • any

  • none

  • kings

$variant_params->num_columns()

The number of columns the variant has.

$variant_params->num_decks()

The numbe of decks the variant has.

$variant_params->num_freecells()

The number of freecells the variant has.

$variant_params->rules()

The rules by which the variant obides:

  • freecell

  • simple_simon

$variant_params->seq_build_by()

Returns the sequence build by:

  • alt_color

  • suit

$variant_params->sequence_move()

  • limited

  • unlimited

$self->clone()

Returns a clone.

AUTHOR

Shlomi Fish, http://www.shlomifish.org/.

BUGS

Please report any bugs or feature requests to bug-games-solitaire-verifysolution-move at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-Solitaire-Verify. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Games::Solitaire::Verify::VariantParams

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Shlomi Fish.

This program is released under the following license: MIT/X11 ( http://www.opensource.org/licenses/mit-license.php ).