Nurikabi Solver
Keywords:
NP-complete, Conjunctive Normal Form, T Veerarajan, Nurikabe puzzlesAbstract
Nurikabe is logical puzzle game. Nurikabe puzzle normally has ‘m’ number of rows and ‘n’ number of columns. Even though it is a logical puzzle game, one cannot solve all the puzzles with pure set of logics. Because Nurikabe puzzle is a NP-complete game. Hence some assumptions must be made in order to solve the given puzzle. In this project in order to make this kind of assumptions with set of logics, SAT solver is used. SAT solver is an efficient tool to make the decisions with binary logics. SAT solver will accept only CNF format. So the puzzle rules and solving logics are converted into CNF format and given to SAT solver. Results from the SAT solver are checked with the rules and if the result satisfies the rules, then it is determined that the result as an appropriate solution for the given puzzle. And new Nurikabe puzzles also generated within certain limit in this project. SAT solver is used to generate new puzzles in this project.
References
- http://www.nikoli.com/en/puzzles/nurik abe/
- http://www.satlive.org/
- Daniel Le Berre: From SAT to SAT4J
- Markus Holzer, Andreas Klein and Martin Kutrib: On The NP-Completeness of The Nurikabe Pencil Puzzle and Variants Thereof
- http://www.infosun.fim.uni-passau.de/br/lehrstuhl/Kurse/Proseminar ss01/graph_traversals.pdf
- http://www.dwheeler.com/essays/minisat-user-guide.html
- http://www.sat4j.org/howto.php
- Getting started with SAT4J by SAT4j community
- http://forge.ow2.org/project/showfiles.p hp?group_id=228
- http://www.daniweb.com/software-development/cpp/threads/351065
- http://stackoverflow.com/questions/5224877/java-generate-random-range-of-specific-numbers-without-duplication-of-those-num
Glossary SAT
Satisfiability CNF
- Conjunctive Normal Form GUI
- Graphical User Interface DFS
- Depth First Search IDE
- Integrated Development Environment JDK- Java Development Kit
Downloads
Published
Issue
Section
License
Copyright (c) IJSRSET

This work is licensed under a Creative Commons Attribution 4.0 International License.