hadialqattan / sudoku

This is a GUI Sudoku game with a solver. The solver was implemented using the backtracking algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to Sudoku game 👋

Python version: 3.x Python version: 3.x License: MIT Docstrings: reStructuredText Code style: black

GUI desktop Sudoku game using pygame. (include Sudoku solver and random Sudoku board generator)

Demo (Full demo) 🧮

automatic solver

start button

win

Won

lose

Lost

Usage 🗝

There's two way to use this project:

Prerequisites 🔩

Tests 🧪

Unit tests @ tests directory include tests only for :

Run instructions:

  • All tests :

    $ pytest -v tests/
  • Specific tests :

    • only solver tests :

      $ pytest -v tests/test_01_solver.py
    • only generator tests :

      $ pytest -v tests/test_02_generator.py

Copyright ©

👤 Hadi Zaki Alqattan

📝 License

Copyright © 2020 Hadi Zaki Alqattan.
This project is MIT licensed.


Give a ⭐️ if this project helped you!

About

This is a GUI Sudoku game with a solver. The solver was implemented using the backtracking algorithm.

License:MIT License


Languages

Language:Python 100.0%Language:Shell 0.0%