1Games::Solitaire::VerifUys:e:rSoClounttiroinb(u3t)ed PerGlamDeosc:u:mSeonltiattaiiorne::Verify::Solution(3)
2
3
4

NAME

6       Games::Solitaire::Verify::Solution - verify an entire solution of
7       Freecell Solver (or a similar solver)
8

VERSION

10       version 0.2202
11

SYNOPSIS

13           use Games::Solitaire::Verify::Solution;
14
15           my $input_filename = "freecell-24-solution.txt";
16
17           open (my $input_fh, "<", $input_filename)
18               or die "Cannot open file $!";
19
20           # Initialise a column
21           my $solution = Games::Solitaire::Verify::Solution->new(
22               {
23                   input_fh => $input_fh,
24                   variant => "freecell",
25               },
26           );
27
28           my $ret = $solution->verify();
29
30           close($input_fh);
31
32           if ($ret)
33           {
34               die $ret;
35           }
36           else
37           {
38               print "Solution is OK";
39           }
40

METHODS

42   Games::Solitaire::Verify::Solution->new({variant => $variant, input_fh =>
43       $input_fh})
44       Constructs a new solution verifier with the variant $variant (see
45       Games::Solitaire::Verify::VariantsMap ), and the input file handle
46       $input_fh.
47
48       If $variant is "custom", then the constructor also requires a
49       'variant_params' key which should be a populated
50       Games::Solitaire::Verify::VariantParams object.
51
52       One can specify a numeric 'max_rank' argument to be lower than 13 (new
53       in 0.1900).
54
55   $solution->verify()
56       Traverse the solution verifying it.
57

AUTHOR

59       Shlomi Fish <shlomif@cpan.org>
60
62       This software is Copyright (c) 2014 by Shlomi Fish.
63
64       This is free software, licensed under:
65
66         The MIT (X11) License
67

BUGS

69       Please report any bugs or feature requests on the bugtracker website
70       <https://github.com/shlomif/fc-solve/issues>
71
72       When submitting a bug or request, please include a test-file or a patch
73       to an existing test-file that illustrates the bug or desired feature.
74

SUPPORT

76   Perldoc
77       You can find documentation for this module with the perldoc command.
78
79         perldoc Games::Solitaire::Verify::Solution
80
81   Websites
82       The following websites have more information about this module, and may
83       be of help to you. As always, in addition to those websites please use
84       your favorite search engine to discover more resources.
85
86       ·   MetaCPAN
87
88           A modern, open-source CPAN search engine, useful to view POD in
89           HTML format.
90
91           <https://metacpan.org/release/Games-Solitaire-Verify>
92
93       ·   Search CPAN
94
95           The default CPAN search engine, useful to view POD in HTML format.
96
97           <http://search.cpan.org/dist/Games-Solitaire-Verify>
98
99       ·   RT: CPAN's Bug Tracker
100
101           The RT ( Request Tracker ) website is the default bug/issue
102           tracking system for CPAN.
103
104           <https://rt.cpan.org/Public/Dist/Display.html?Name=Games-Solitaire-Verify>
105
106       ·   AnnoCPAN
107
108           The AnnoCPAN is a website that allows community annotations of Perl
109           module documentation.
110
111           <http://annocpan.org/dist/Games-Solitaire-Verify>
112
113       ·   CPAN Ratings
114
115           The CPAN Ratings is a website that allows community ratings and
116           reviews of Perl modules.
117
118           <http://cpanratings.perl.org/d/Games-Solitaire-Verify>
119
120       ·   CPANTS
121
122           The CPANTS is a website that analyzes the Kwalitee ( code metrics )
123           of a distribution.
124
125           <http://cpants.cpanauthors.org/dist/Games-Solitaire-Verify>
126
127       ·   CPAN Testers
128
129           The CPAN Testers is a network of smoke testers who run automated
130           tests on uploaded CPAN distributions.
131
132           <http://www.cpantesters.org/distro/G/Games-Solitaire-Verify>
133
134       ·   CPAN Testers Matrix
135
136           The CPAN Testers Matrix is a website that provides a visual
137           overview of the test results for a distribution on various
138           Perls/platforms.
139
140           <http://matrix.cpantesters.org/?dist=Games-Solitaire-Verify>
141
142       ·   CPAN Testers Dependencies
143
144           The CPAN Testers Dependencies is a website that shows a chart of
145           the test results of all dependencies for a distribution.
146
147           <http://deps.cpantesters.org/?module=Games::Solitaire::Verify>
148
149   Bugs / Feature Requests
150       Please report any bugs or feature requests by email to
151       "bug-games-solitaire-verify at rt.cpan.org", or through the web
152       interface at
153       <https://rt.cpan.org/Public/Bug/Report.html?Queue=Games-Solitaire-Verify>.
154       You will be automatically notified of any progress on the request by
155       the system.
156
157   Source Code
158       The code is open to the world, and available for you to hack on. Please
159       feel free to browse it and play with it, or whatever. If you want to
160       contribute patches, please send me a diff or prod me to pull from your
161       repository :)
162
163       <https://github.com/shlomif/fc-solve>
164
165         git clone git://github.com/shlomif/fc-solve.git
166
167
168
169perl v5.30.0                      2019-07-G2a6mes::Solitaire::Verify::Solution(3)
Impressum