sudoku-gen

generate endless sudoku pdfs

MIT License

Stars
5

sudoku-gen

I like playing sudoku. I don't like paying for sudoku books. So, I made this: a simple program to generate sudoku puzzle PDFs. Also features QR code solutions.

Installation

Dependencies

  • pillow
  • fpdf
  • click

Usage

py render.py [OPTIONS]

Options:
  -s INTEGER  Number of sets to generate
  -d INTEGER  Number of squares to remove (not guarenteed, as program will stop after a certain threshold)
  -l / -p     Landscape/Portrait mode
  -c          Color mode
  -a          Arrange puzzles with solutions (as opposed to separating them)
  -o / -n     Open/Don't open result pdf in web browser
  --help      Show this message and exit.

Example

Sample Output