NAME

Games::Solitaire::Verify::Foundations - a class for representing the foundations (or home-cells) in a Solitaire game.

VERSION

Version 0.01

SYNOPSIS

use Games::Solitaire::Verify::Foundations;

# For internal use.

FUNCTIONS

$self->value($suit, $index)

Returns the card in the foundation $suit with the index $index .

$self->assign($suit, $index, $rank)

Sets the value of the foundation with the suit $suit and the index $index to $rank .

$self->increment($suit, $index)

Increments the value of the foundation with the suit $suit and the index $index to $rank .

$self->to_string()

Stringifies the freecells into the Freecell Solver solution display notation.

$board->clone()

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

AUTHOR

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

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::Column

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Shlomi Fish, all rights reserved.

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