Games::Solitaire::Verify::Freecells - a class for representing the


Games-Solitaire-Verify documentation  | view source Contained in the Games-Solitaire-Verify distribution.

Index


NAME

Top

Games::Solitaire::Verify::Freecells - a class for representing the Freecells in games such as Freecell, Baker's Game, or Seahaven Towers

VERSION

Top

Version 0.01

SYNOPSIS

Top

    use Games::Solitaire::Verify::Freecells;

    # For internal use.

FUNCTIONS

Top

$self->count()

Returns the number of cells.

$self->cell($index)

Returns the card in the freecell with the index $index .

$self->assign($index, $card)

Sets the card in the freecell with the index $index to $card, which should be a Games::Solitaire::Verify::Card object.

$self->to_string()

Stringifies the freecells into the Freecell Solver solution display notation.

$self->cell_clone($pos)

Returns a clone of the card in the position $pos .

$self->clear($pos)

Clears/empties the freecell at position $pos .

$board->clone()

Returns a clone of the freecells, with all of their cards duplicated.

$self->num_empty()

Returns the number of empty freecells.

AUTHOR

Top

Shlomi Fish, <shlomif at iglu.org.il>

BUGS

Top

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

Top

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

    perldoc Games::Solitaire::Verify::Column

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-Solitaire-Verify

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Games-Solitaire-Verify

* CPAN Ratings

http://cpanratings.perl.org/d/Games-Solitaire-Verify

* Search CPAN

http://search.cpan.org/dist/Games-Solitaire-Verify

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Games-Solitaire-Verify documentation  | view source Contained in the Games-Solitaire-Verify distribution.