-
This project applies the concept of Breadth-First-Search (BFS) algorithm to find the shortest path from a starting point to an end point.
-
In this project, I modelled the concept through a 'knight' in the traditional game of Chess. For a knight, it can face any direction and can move in the following direction:
- Two steps forward/backward and one step to the side OR
- One step forward/backward and two steps to the side.
-
An example of all the possible moves you can make may look like this:
- I've created a simple GUI that will allow you (the user) to set a start and end point and see how the knight will 'move' across the chessboard with respect to the above.
- Simply visit the live preview here.
- Geeks for Geeks
- The Odin Project