Git Product home page Git Product logo

sudoku's Introduction

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

sudoku's People

Contributors

benapetr avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.