Giter Site home page Giter Site logo

gui-sudoku-solver's Introduction

GUI-sudoku-solver

This application allows to solve a sudoku both with a GUI and a terminal version. Throught the GUI the user can insert its own sudoku grid, solve it and the application compares its result with the correct one, or try a random game.
Run sudoku_GUI.py for the GUI version, or the main(terminal).py for the textual version after editing the python file to insert your own sudoku grid.

Instruction

Before starting to play:
Button Start game --> after the user has entered the initial values of the sudoku to be solved, press this button to freeze the grid and start playing
Button Random --> generates a random sudoku and starts the game
When inserting your own grid there is no need to hit ENTER, just press the number on your keyboard.

When the game is running:
Button New game --> creates a new empty grid and allows the withdrawal
Button Reset --> restarts the grid from the initial one, thus removing only the user tries

Click a cell to select it, or reach it by moving the selection with the arrow keys, hit the number on your keyboard to make it temporary. Hit ENTER to make it final.
Press DELETE or BACKSPACE to delete both a temporary or stable value.
Press Ctrl+Z to undo the last moves.

Utilities

The application highlights the row, column and 3x3 grid surrounding the selected cell to help the user. It also highlights in blue cells with the same number throughout the grid for graphical help and shows them in red in case of an error.

Examples

Correct grid Error in grid

gui-sudoku-solver's People

Contributors

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