No description
  • C 95.9%
  • M4 3.2%
  • Makefile 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Vetter 96638addc1 Release 8.0.1
2026-07-08 14:55:40 +02:00
.github/workflows configure CC and CXX 2024-04-28 13:03:51 -04:00
man Release 8.0.1 2026-07-08 14:55:40 +02:00
po Revise Ukrainian localization in uk.po 2026-05-06 03:01:02 +03:00
src Release 8.0.1 2026-07-08 14:55:40 +02:00
.gitignore Add file upload restrictions to gitignore 2026-04-04 23:19:58 -07:00
AUTHORS Add Oleksii to AUTHORS 2024-08-27 09:02:44 +02:00
ChangeLog Release 8.0.1 2026-07-08 14:55:40 +02:00
configure.ac Release 8.0.1 2026-07-08 14:55:40 +02:00
LICENSE Adding info files 2015-01-12 14:54:45 +01:00
Makefile.am Add i18n support 2018-05-04 09:49:01 -03:00
README.md Fix minor changes in README 2024-08-26 22:22:39 +03:00

nudoku

nudoku is a ncurses based sudoku game.

Install

nudoku is easily installable via many package managers.

Packaging status

Dependency

  • ncurses
  • cairo (optional: for PDF/PNG output)

From source

Get the latest .tar.xz release and extract it. Then run:

./configure
make
./src/nudoku

For the git version you will have to do:

git clone https://github.com/jubalh/nudoku
cd nudoku
autoreconf -i
./configure
make
./src/nudoku

Add -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-cairo

Usage

For 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.

I18n

For i18n support you need to set LANGUAGE variable:

export LANGUAGE=lang

Where lang is the translation of choice. See the list of supported languages in po/LINGUAS file.

Contributing

If you plan to add/update the translation please follow these guidelines with examples:

  1. 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
  1. For new translation add language to po/LINGUAS and create .po file:
echo es >> po/LINGUAS && cp po/nudoku.pot po/es.po
  1. Replace placeholders in uppercase in the head of the file with your information. Add translations for (preferably) each msgid.
  2. Check your .po file with msgfmt for any errors:
msgfmt es.po # should not produce any output
  1. Push your branch to remote and create PR:
git push origin es

If you add changes to source code make sure to update potfiles as well:

cd po # if you inside nudoku directory
make update-po

Bugtracker

https://github.com/jubalh/nudoku/issues