Skip to content

Implementation of an assortment AI algorithms in Swift to solve a dynamic 15 puzzle.

Notifications You must be signed in to change notification settings

alexcu/puzzle-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle Problem

AI to solve a dynamic 15 puzzle using an assortment of AI techniques.

Performed under a course conducted at Swinburne University for Artificial Intelligence.

Refer to report.pdf for writeup.

Getting started

Run using search.sh. This will automatically build the solver on your platform.

Search file

A search file provided must be in the following format:

  1. First line contains the height and width
  2. Second line contains the desired start state
  3. Third line contains the desired end state

Example:

3x3
6 7 4 1 5 3 8 0 2
3 4 2 1 8 7 6 0 5

Search algorithms

So far, the following algorithms with their respective codes are implemented:

Screenshot

In Action

Copyright

© Alex Cummaudo 2016

About

Implementation of an assortment AI algorithms in Swift to solve a dynamic 15 puzzle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published