Skip to content

benapetr/sudoku

Repository files navigation

SudokuPro

What is this

This is a simple yet very powerful sudoku game "client", which can be used to play or create sudoku.

Why did you create this? Doesn't million others exist?

Yes, they do, but either they aren't open source enough, or they simply don't meet my requirements:

  • Ability to load / hand create custom sudokus (from paper)
  • Simulate actual hard-core sudoku - paper-like, that is:
  • Turn off all hints
  • Turn off all suggestions
  • Allow me to make a mistake and continue the game
  • Let me copy / snapshot current sudoku so I can do some "expert-guessing" strategies

I simply couldn't find any so I made this. All in all, it took me 7 hours to make this program. That's probably less than I would need should I want to google already existing tool that can do this.

How can I compile this

This is standard C++/Qt solution which is CMake based, so you need to have:

  • CMake
  • Qt 5.4+
  • C++ build environment

On GNU/Linux / MacOS you would simply run these commands from this folder:

mkdir build
cd build
cmake ..
make

How it works

Program works in 2 modes: editor and game In editor mode you can modify any value to any number as long as it follows sudoku rules, this mode is for new sudoku creation - you can either import own sudoku, or create a new one. In editor mode you can change all values, but you can't use hints.

Once you switch to game mode, the game starts - you can't easily go back to editor mode. In game mode you can place your "guessed numbers" as well as hints and you can also remove or change them, but you can't modify black numbers that were inserted in editor mode.

Game can be exported (saved) to simple human readable format (.scb) which contains set of commands that can be used to reconstruct the sudoku to point where you finished.

I need to talk to you

I am idling at irc.tm-irc.org or chat.freenode.net in channels #petan

About

Sudoku "Pro" is a very simple yet powerfull SUDOKU game client, for the most hardcore players

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published