nudoku is a ncurses based sudoku game.
nudoku is easily installable via many package managers.
- ncurses
- cairo (optional: for PDF/PNG output)
Get the latest .tar.xz release and extract it.
Then run:
./configure
make
./src/nudokuFor the git version you will have to do:
git clone https://github.com/jubalh/nudoku
cd nudoku
autoreconf -i
./configure
make
./src/nudokuAdd -DDEBUG to make to have some debug output.
nudoku can also output sudokus in PDF and PNG format (see man nudoku -p/-i/-n).
You need to have cairo installed and configure with:
./configure --enable-cairoFor normal interactive GUI run nudoku.
To print two PDF pages with 8 hard sudokus run nudoku -p riddle.pdf -n 8 -d hard.
To get a PNG with an easy sudoku run nudoku -i sudoku.png -d easy.
See man nudoku to learn more.
For i18n support you need to set LANGUAGE variable:
export LANGUAGE=langWhere lang is the translation of choice. See the list of supported languages in po/LINGUAS file.
If you plan to add/update the translation please follow these guidelines with examples:
- Fork this repository and create a new git branch with language abbreviation as a name, e.g.
es:
cd nudoku # your forked git repository
git checkout -b es- For new translation add language to
po/LINGUASand create.pofile:
echo es >> po/LINGUAS && cp po/nudoku.pot po/es.po- Replace placeholders in uppercase in the head of the file with your information. Add translations for (preferably) each
msgid. - Check your
.pofile withmsgfmtfor any errors:
msgfmt es.po # should not produce any output- Push your branch to remote and create PR:
git push origin esIf you add changes to source code make sure to update potfiles as well:
cd po # if you inside nudoku directory
make update-po