=encoding utf-8

=head1 NAME

App::Greple::wordle - wordle module for greple

=head1 SYNOPSIS

greple -Mwordle

=head1 DESCRIPTION

App::Greple::wordle is a greple module which implements wordle game.
Correctness is checked by regular expression.

Rule is almost same as original wordle but answer is different.  Use
B<--compat> option to get compatible answer.

=begin html

<p><img src="https://raw.githubusercontent.com/kaz-utashiro/greple-wordle/main/images/screen-4.png">

=end html

=head1 OPTIONS

=over 7

=item B<--series>=I<number>

=item B<--compat>

Choose different series of answers.  Default 1.  Series zero is same
as original game and option B<--compat> is a short cut for
B<--series=0>.  If it is not zero, original answer word set is
shuffled by pseudo random numbers using series number as an initial
seed.

=item B<-->[B<no->]B<result>

Show result when succeeded.  Default true.

=item B<--index>=I<number>

Specify index. Index is calculated from days from 2021/06/19.  If the
value is negative and you can get yesterday's question by giving -1.

=item B<--random>

Generate random index every time.

=item B<--count>=I<number>

Set try count.  Default 6.

=item B<--answer>=I<word>

Set answer word.  For debug purpose.

=back

=head1 BUGS

Wrong position character is colored yellow always, even if it is
colored green in other position.

=head1 INSTALL

=head2 CPANMINUS

    $ cpanm App::Greple::wordle
    or
    $ curl -sL http://cpanmin.us | perl - App::Greple::wordle

=head1 SEE ALSO

L<App::Greple::wordle>, L<https://github.com/kaz-utashiro/greple-wordle>

L<App::Greple>, L<https://github.com/kaz-utashiro/greple>

L<https://qiita.com/kaz-utashiro/items/ba6696187f2ce902aa39>

L<https://github.com/alex1770/wordle>

=head1 AUTHOR

Kazumasa Utashiro

=head1 LICENSE

Copyright 2022 Kazumasa Utashiro.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

#  LocalWords:  greple wordle localtime COMPAT Kazumasa Utashiro
