Snake-A-star a self-playing snake game that uses A* algorithm for path finding check it out here #Useful code A-star class