Giter VIP home page Giter VIP logo

kenken-puzzle's Introduction

KENKEN-Puzzle

Create a software that solves the KENKEN puzzle, By a constrain satisfaction problem (CSP).

To Run the project

From exe file

  1. download gui folder
  2. in this folder You can find gui.exe that can run easly

โš ๏ธ You cannot run gui.exe without the files and folders in gui folder!

from vs code

  1. download gui.py and algorithm_csp
  2. download nessary libraries for pyqt5

hint : You need to have Python installed on your device

GUI supports

  1. Generating random board of a size that a user will provide.

  2. Choosing one of the 3 algorithms and running the solver to fill the board with the answer.

  3. Performance Analysis comparing running the 3 algorithms.

Steps to play

  1. Choose size by writing 3 for size 3x3 or 4 for size 4x4 or 5 for size 5x5 or 6 for size 6x6 or 7 for size 7x7 or 8 for size 8x8 or 9 for size 9x9.

  2. Click on Enter size Button.

    1

  3. Next window will open and the size will be generated on it.

  4. Choose the algorithm you want to solve the game with by clicking on the Button.

    4.1. Backtracking.

    4.2. Backtracking with forward chicking.

    4.3. Backtracking with arc consistency.

    2

  5. Performance analysis (time) will appear for each algorithm.

    3

  6. To close the game click on Close button.

Hints

  • You can generate only once in each game to generate again you should open the gui again.

kenken-puzzle's People

Contributors

renad-mostafa99 avatar shimaa88 avatar nouraan-ahmed avatar rere-kh1999 avatar shrouk-hub 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.