Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
Battleship Puzzle Solver
========================

This program was a university assignment.

The program is not suitable to solve difficult puzzles within reasonable time.
- A completely empty 6x6 puzzle can be solved in just a few seconds
- An 8x8 puzzle with 20 out of the 64 cells filled in will take around 5 seconds.
- An 8x8 puzzle with 15 out of the 64 cells filled in will take around 35 seconds.


Run
---

These instructions are for linux only, but the program will also work under different operating systems.

Start your prolog interpreter
    swipl

Load the code
    ?- ['Battleship.pl'].

You can now also load and run the examples
    ?- ['Examples.pl'].
    ?- example2.

About

Prolog program that solves battleship puzzles, written as a university assignment.

Resources

Releases

No releases published

Packages

No packages published

Languages