Skip to content

Desktop application for easier generating fuzuli-puzzle

Notifications You must be signed in to change notification settings

horrorschau105/fuzuli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Fuzuli

Fuzuli is a puzzle with very simple rules. See fuzuli.pdf for more details.

What it is

Simple TKinter app with grid and button. After pressing a button, program generates swi-prolog script, which contains all data from grid and addiction predicates.

How to run

To start program, just type i.e.:

python3 main.py 4 2 

which gives you 6x6 grid, as in example. '4' stands for number of digits, '2' stands for number of empty cells per row.

After pressing the button Generate, program creates file prolog_output.pl, which you need to run with command:

swipl prolog_script.pl

This gives you all possible solution of this puzzle, based on what you type into grid before. If you put only a few digits to the grid, number of solutions might be pretty high. Remember, to get true fuzuli puzzle, solution should be exactly one :)

Requirements

  • python3
  • TKinter module
  • swipl

About

Desktop application for easier generating fuzuli-puzzle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published