In this tutorial, we will solve the 8 puzzle problem using A* (star) search algorithm. We will approach the solution by first modelling the problem, then by building the fundamental blocks and finally applying a… Read More »Solving 8 puzzle problem using A* star search
An algorithm is a step by step process of solving a problem, typically using a computer program. This site provides a number of tutorials that illustrates the usage of various algorithms in a variety of programming languages.
In this tutorial, we will learn how to generate mazes using a depth-first algorithm. To do this firstly, I will define the problem, then I will explain the algorithm and finally demonstrate the implementation in… Read More »How to Generate Mazes Using Depth-First Algorithm
In this tutorial, we will solve the 8 puzzle problem using A* star search in C++. This is Part 2 of the tutorial. Part 1 of this tutorial provides the introduction, the background information and… Read More »Solving 8 puzzle problem using A* star search in C++