Games::Solitaire::Verify::Freecells - a class for representing the Freecells in games such as Freecell, Baker's Game, or Seahaven Towers
use Games::Solitaire::Verify::Freecells; # For internal use.
Returns the number of cells.
Returns the card in the freecell with the index $index .
Sets the card in the freecell with the index $index to $card, which should be a Games::Solitaire::Verify::Card object.
Stringifies the freecells into the Freecell Solver solution display notation.
Returns a clone of the card in the position $pos .
Clears/empties the freecell at position $pos .
Returns a clone of the freecells, with all of their cards duplicated.
Returns the number of empty freecells.
<shlomif at iglu.org.il>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2008 Shlomi Fish.
This program is released under the following license: MIT/X11 ( http://www.opensource.org/licenses/mit-license.php ).