1Games::Solitaire::VerifUys:e:rGoClofn(t3r)ibuted Perl DoGcaummeesn:t:aStoilointaire::Verify::Golf(3)
2
3
4

NAME

6       Games::Solitaire::Verify::Golf - verify an entire solution of
7       black-hole-solve (or a similar solver)
8

VERSION

10       version 0.2202
11

SYNOPSIS

13           my ( $board_fn, $solution_fn ) = @ARGV;
14           my $verifier = Games::Solitaire::Verify::Golf->new(
15               {
16                   board_string => path($board_fn)->slurp_raw(),
17                   variant => "all_in_a_row",
18               }
19           );
20
21           open my $fh, '<', $solution_fn;
22           $verifier->process_solution( sub { my $l = <$fh>; chomp $l; return $l; } );
23           print "Solution is OK.\n";
24           exit(0);
25

METHODS

27   Games::Solitaire::Verify::Golf->new({board_string=>$str, variant
28       =>"golf"|"all_in_a_row"|"black_hole"})
29       Construct a new validator / verifier for the variant and the initial
30       board string.
31
32       For golf one can specify:
33
34       ·   wrap_ranks
35
36       ·   queens_on_kings
37
38   $obj->process_solution($line_iter_cb)
39       Process the solution with the line iterator. Throws an exception if
40       there is an error in it.
41

AUTHOR

43       Shlomi Fish <shlomif@cpan.org>
44
46       This software is Copyright (c) 2014 by Shlomi Fish.
47
48       This is free software, licensed under:
49
50         The MIT (X11) License
51

BUGS

53       Please report any bugs or feature requests on the bugtracker website
54       <https://github.com/shlomif/fc-solve/issues>
55
56       When submitting a bug or request, please include a test-file or a patch
57       to an existing test-file that illustrates the bug or desired feature.
58

SUPPORT

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