Shlomi Fish

NAME

Games::Solitaire::Verify::Move - a class wrapper for an individual Solitaire move.

VERSION

Version 0.01

SYNOPSIS

    use Games::Solitaire::Verify::Move;

    my $move1 = Games::Solitaire::Verify::Move->new(
        {
            fcs_string => "Move a card from stack 0 to the foundations",
            game => "freecell",
        },
    );

FUNCTIONS

METHODS

$move->source_type()

Accessor for the solitaire card game's board layout's type - "stack", "freecell", etc. used in the layout.

$move->dest_type()

Accessor for the destination type - "stack", "freecell", "destination".

$move->source()

The index number of the source.

$move->dest()

The index number of the destination.

$move->num_cards()

Number of cards affects - only relevant for a stack-to-stack move usually.

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

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 ).




Hosting generously
sponsored by Bytemark