Home▸AI & Machine Learning▸Cliff-Walking Rover: Q-Learning vs SARSA on a Value Grid

🧪 Cliff-Walking Rover: Q-Learning vs SARSA on a Value Grid

A rover learns the cliff-walking gridworld with tabular Q-learning (off-policy) or SARSA (on-policy); epsilon-greedy exploration, value heatmap and greedy-policy arrows show why Q-learning hugs the cliff edge while SARSA takes the safe path.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Cliff-Walking Rover: Q-Learning vs SARSA on a Value Grid ↗ Open standalone
⚙ Under the hood

A rover learns the cliff-walking gridworld with tabular Q-learning (off-policy) or SARSA (on-policy); epsilon-greedy exploration, value heatmap and greedy-policy arrows show why Q-learning hugs the cliff edge while SARSA takes the safe path.

Reinforcement LearningAgentRewards

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)