- This is python2.7 implementation, for python3.x click here
- The map must be saved as a text file with the following format:
0 0 0 0 3
0 1 1 0 4
0 1 1 0 0
0 0 0 0 0
2 0 0 0 0
where, 1 is Wall, 2 is start, 3 is goal, 4 is pit or fire
- Terminal commands
python astar.py
python q_deterministic.py
python q_stochastic.py