Games:...dations(3pm)
π Games::Solitaire::Verify::Foundations π
okay bestie, so this is a page from the User Contributed Perl Documentation, filed under the manual name Games:...dations(3pm). Yes the name is truncated, yes it's giving cryptic, no we are not fixing it, that's just how the shelf label looks. π
β¨ NAME β¨
Games::Solitaire::Verify::Foundations β a whole class for representing the foundations (aka the home-cells, aka the little piles where you're trying to yeet every card so you win π) in a Solitaire game.
πΈ VERSION πΈ
version 0.2601
π¦ SYNOPSIS π¦
use Games::Solitaire::Verify::Foundations;
# For internal use.
that's it. that's the synopsis. it's short but she's iconic. π (also yes, it literally says For internal use β this class is not here to be your main character, it's here to do the job.)
π METHODS π
π $self->value($suit, $index)
hands you back the card sitting in the foundation for $suit at the index $index. π
π $self->assign($suit, $index, $rank)
sets the value of the foundation with the suit $suit and the index $index to $rank. done, slotted, no notes. β¨
π $self->increment($suit, $index)
increments the value of the foundation with the suit $suit and the index $index to $rank.
ngl bestie, this one is a little mysterious β it talks about $rank but $rank isn't in the argument list. I'm just telling you exactly what the page says, fr fr. π
π $self->to_string()
stringifies the freecells into the Freecell Solver solution display notation. so like, the glow-up from object to text. π
π $board->clone()
returns a clone of the freecells, with all of their cards duplicated. a little copy-paste moment, but make it legal. π§
π SUPPORT π
π Websites
these websites have more info about this module and lowkey might be a huge help. as always though, in addition to those sites, please go use your favorite search engine to discover more resources. π
- MetaCPAN β a modern, open-source CPAN search engine, useful to view POD in HTML format.
<https://metacpan.org/release/Games-Solitaire-Verify>
- RT: CPAN's Bug Tracker β the RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
<https://rt.cpan.org/Public/Dist/Display.html?Name=Games-Solitaire-Verify>
- CPANTS β the CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
<http://cpants.cpanauthors.org/dist/Games-Solitaire-Verify>
- CPAN Testers β the CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
<http://www.cpantesters.org/distro/G/Games-Solitaire-Verify>
- CPAN Testers Matrix β the CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
<http://matrix.cpantesters.org/?dist=Games-Solitaire-Verify>
- CPAN Testers Dependencies β the CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
<http://deps.cpantesters.org/?module=Games::Solitaire::Verify>
π Bugs / Feature Requests
please report any bugs or feature requests by email to "bug-games-solitaire-verify at rt.cpan.org", or through the web interface at
<https://rt.cpan.org/Public/Bug/Report.html?Queue=Games-Solitaire-Verify>
and the system will automatically notify you of any progress on the request. so you're not left on read. π«Ά
π» Source Code
the code is open to the world, and available for you to hack on. please feel free to browse it and play with it, or whatever. if you want to contribute patches, please send me a diff or prod me to pull from your repository :) literally the most chill invitation ever.
<https://github.com/shlomif/fc-solve>
git clone git://github.com/shlomif/fc-solve.git
π AUTHOR π
Shlomi Fish <shlomif@cpan.org>
π BUGS π
please report any bugs or feature requests on the bugtracker website
<https://github.com/shlomif/fc-solve/issues>
when submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. receipts, bestie, we need receipts. π§Ύ
π COPYRIGHT AND LICENSE π
this software is Copyright (c) 2008 by Shlomi Fish.
this is free software, licensed under:
The MIT (X11) License
and that's the whole page, bestie π slay, go forth and verify those foundations β¨
this little write-up lives in the perl v5.42.0 docs, dated 2025-07-25 β thanks for reading, mwah π«ΆπΈ
π¦ where this page comes from
- fedora 43: perl-Games-Solitaire-Verify 0.2601-3.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms