Reinforcement Learning Pathfinding Demo

Reward of 1000 is given for finding the goal (black location), and a penalty of -1000 for attempting to move off the map. Rewards are considered to arrive immediately after the action. A random action is taken 10% of the time (i.e. epsilon greedy strategy with an epsilon of 0.1). The discount factor is 0.9, and the learning rate is 0.1. The mover teleports to the starting (white) location after reaching the goal. Try changing the start and goal locations after the agent has already learned a solution and see how well it can adjust!


Start: null
Goal: null
Step Count: 0
Last Location: null
Last Action: null
Mode: null
Reward: null
StateNESW
A0000
B0000
C0000
D0000
E0000
F0000
G0000
H0000
I0000