Acme::CPANModules::Sudoku - List of Sudoku-related modules on CPAN
This document describes version 0.007 of Acme::CPANModules::Sudoku (from Perl distribution Acme-CPANModules-Sudoku), released on 2022-03-18.
Recently (Dec 2020) I picked up more interest in Sudoku, as I was spending more time at home with the kids, and there was a book of Sudoku puzzles lying around in the room.
Playing
There are certainly more modules on CPAN for solving Sudoku puzzles compared to for playing. And between the two available modules for playing, I find that there's currently no good playable Sudoku game on CPAN. Sad but true. You'd be better off opening your browser and visiting https://websudoku.com or https://sudoku.com, or installing ksudoku or gnome-sudoku if you're using KDE/GNOME, or sudoku (by Michael Kennett) or nudoku if you like playing on the terminal.
(CPAN does still contain some playable games though. I did enjoy Games::FrozenBubble and still play Games::2048 from time to time.)
These modules are available for playing Sudoku:
Games::Sudoku::CLI. Since it's CLI (prompt-based) instead of TUI, it's not really convenient to play unless you're a CLI freak.
Games::Sudoku::Component::TkPlayer. It's GUI, but clunky and not pretty. There's no visual indicator for separating the larger 3x3 boxes.
Generating
These modules can generate Sudoku puzzles for you, though not let you interactively play/solve them:
Spreadsheet::HTML::Presets::Sudoku
Solving
There is no shortage of modules written to solve Sudoku puzzles. I plan to benchmark these but for now here's the list:
Games::Sudoku::Lite
Games::Sudoku::Solver
Games::Sudoku::General
Games::Sudoku::CPSearch
Games::Sudoku::Kubedoku
Games::Sudoku::SudokuTk
Games::Sudoku::OO::Board
Games::YASudoku
Games::Sudoku::CLI - play Sudoku on the command line
Author: SZABGAB
Games::Sudoku::Component::TkPlayer - Let's play Sudoku
Author: ISHIGAKI
Spreadsheet::HTML::Presets::Sudoku - Generates 9x9 sudoku boards via HTML tables.
Author: JEFFA
Author: BOBO
Games::Sudoku::Solver - Solve 9x9-Sudokus recursively.
Author: MEHNER
Author: WYANT
Games::Sudoku::CPSearch - Solve Sudoku problems quickly.
Author: MARTYLOO
Games::Sudoku::Kubedoku - Sudoku Solver for any NxN puzzles
Author: VELASCO
Games::Sudoku::SudokuTk - Sudoku Game
Author: CGUINE
Games::Sudoku::OO::Board - Object oriented Sudoku solver
Author: COPE
Games::YASudoku - Yet Another Sudoku Solver
Author: WYLLIE
An Acme::CPANModules::* module, like this module, contains just a list of module names that share a common characteristics. It is a way to categorize modules and document CPAN. See Acme::CPANModules for more details.
Aside from reading this Acme::CPANModules module's POD documentation, you can install all the listed modules (entries) using cpanm-cpanmodules script (from App::cpanm::cpanmodules distribution):
% cpanm-cpanmodules -n Sudoku
Alternatively you can use the cpanmodules CLI (from App::cpanmodules distribution):
% cpanmodules ls-entries Sudoku | cpanm -n
or Acme::CM::Get:
% perl -MAcme::CM::Get=Sudoku -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::Sudoku -E'say $_->{module} for @{ $Acme::CPANModules::Sudoku::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps lcpan produce a more meaningful result for lcpan related-mods command when it comes to finding related modules for the modules listed in this Acme::CPANModules module. See App::lcpan::Cmd::related_mods for more details on how "related modules" are found.
lcpan related-mods
Please visit the project's homepage at https://metacpan.org/release/Acme-CPANModules-Sudoku.
Source repository is at https://github.com/perlancar/perl-Acme-CPANModules-Sudoku.
Acme::CPANModules - about the Acme::CPANModules namespace
cpanmodules - CLI tool to let you browse/view the lists
perlancar <perlancar@cpan.org>
To contribute, you can send patches by email/via RT, or send pull requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla plugin and/or Pod::Weaver::Plugin. Any additional steps required beyond that are considered a bug and can be reported to me.
This software is copyright (c) 2022, 2021 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Sudoku
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.
To install Acme::CPANModules::Sudoku, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::CPANModules::Sudoku
CPAN shell
perl -MCPAN -e shell install Acme::CPANModules::Sudoku
For more information on module installation, please visit the detailed CPAN module installation guide.