Skip to content

naimishamanikonda/Hitori-puzzle-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hitori-puzzle-solver

Description

Hitori is a puzzle which consists of a square grid with numbers appearing in all squares. The object is to shade squares so

• No number appears in a row or column more than once.

• Shaded (black) squares do not touch each other vertically or horizontally.

Sample Input

ScreenShot

Sample Output

ScreenShot

Working

• The the project has an interface for the Hitori solver containing a 5*5 grid which allows the user to enter the numbers between one to five entered in the cells of the grid to be solved.

• Then after entering the digits the user can either click the button solve which identifies the duplicates from the grid entered satisfying the conditions of the puzzle and high lights them in a different color from the other values in the grid.

• There is another option called as reset which gives the user a chance to enter the values for new puzzle to be solved

Running

• This Src folder contains a hitori solver which uses java for the gui and answerset for the logic • Place the hitori2.sm in the file where you have installed clingo and run open hitori.java in netbeans and click run

Technologies

Java, answerset

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages