Skip to content

agoniko/Path-Finding-Reinforcement-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maze Solver

Welcome to the Maze Solver project repository! This project is all about navigating mazes comparing a Reinforcement Learning (RL) agent with the classic A* algorithm.

Project Purpose

The main goal of this project is to explore and compare different approaches to solve mazes. I've implemented both an RL agent and the A* algorithm to see which one performs better in finding the optimal path through various mazes.

Techniques Implemented

  • Reinforcement Learning Agent: We've trained an RL agent to learn how to navigate through mazes by exploring different paths, receiving rewards, and updating its strategy over time.

  • A Search Algorithm:* The classic A* algorithm, known for its efficiency and optimality, has been implemented to solve mazes. It cleverly combines heuristic estimation and intelligent search to find the shortest path from start to goal.

Results

Even if they often make different paths, if trained enough, the RL and A* agents complete the maze with the same number of steps

Getting Started

Installation

  1. Clone the repository:
git clone https://github.com/agoniko/Path-Finding-Reinforcement-Learning.git
  1. Install the required dependencies:
pip install -r requirements.txt

Contributing

I welcome contributions, suggestions, and ideas to make this project even more enjoyable! If you have any exciting additions or improvements, please feel free to submit a pull request or open an issue. Let's make maze-solving even more fun together!

License

This project is open-source. You are free to use, modify, and distribute the code with proper attribution.

Usage

  1. Run the path-finder.ipynb notebook to start solving mazes.

Example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published