Subangkar/N-Puzzle-Problem-CPP-Implementation-using-A-Star-Search

A C++ implementation of N Puzzle problem using A Star Search with heuristics of Manhattan Distance, Hamming Distance & Linear Conflicts

28
/ 100
Experimental

This tool helps computer science students and AI enthusiasts explore and compare different search algorithms for solving the classic N-puzzle game. You input a jumbled puzzle board, and it outputs the optimal sequence of moves to solve it, along with the performance of various heuristic methods. It's designed for those studying or teaching artificial intelligence and algorithm design.

No commits in the last 6 months.

Use this if you are studying AI search algorithms and want to see how different heuristics (Hamming, Manhattan, Linear Conflict) impact the solution of N-puzzle problems.

Not ideal if you're looking for a general-purpose puzzle solver for a wide variety of games beyond the N-puzzle, or if you need solutions for very large boards using the Hamming distance heuristic due to high memory requirements.

AI-education algorithm-analysis heuristic-search puzzle-solving computer-science-demonstration
No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 8 / 25
Community 15 / 25

How are scores calculated?

Stars

10

Forks

4

Language

C++

License

Last pushed

Dec 03, 2018

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/Subangkar/N-Puzzle-Problem-CPP-Implementation-using-A-Star-Search"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.