Q-Table Visualization
Watch Q-values update as the agent learns. Each cell shows Q(s,a) for all 4 actions. Brighter = higher value.
0.3
0.95
0.2
Step 0/345
Episode: 1Step: 1TD Error: -0.0400Reward: -0.04Total Steps: 346
Bellman Backup — Current Update
Q(s,a)
0.000
α
0.30
r
-0.040
γ·max Q(s')
0.000
Q(s,a)
0.000
new Q(s,a)
-0.012
State: (0,0) → (1,0)Action: ↓ DownTD Error: -0.0400 (Q was overestimated — decrease)