Pathfinding is an essential part of many games. Once implemented properly your game gets huge benefits from it.
Your enemies will get the ability to avoid walls and follow you.
I guess one reason for the massive amount of zombie games out there is that a zombie does not need pathfinding to seem realistic. Zombies are dumb by nature.
But we want smarter enemies!
So that is why i have written this tutorial for you.
I will show you how to implement the A* algorithm in Java and how to use it in your game.