Home▸AI & Machine Learning▸Robotics Robot Learning Simulation

Robot Learning: Q-Learning Grid World

Watch a robot learn to reach a goal from scratch with tabular Q-learning: epsilon-greedy exploration, reward/penalty updates, and a live policy heatmap over the grid, all in 3D.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted
robotics-robot-learning-simulation ↗ Open standalone

This simulation showcases a robot learning through reinforcement learning. A wheeled robot starts in the corner of a 6×6 grid world scattered with walls, a goal tile and a hazard pit, and repeatedly attempts to cross it. Every move updates a tabular Q-learning table from the reward or penalty it receives, exploration gradually gives way to exploitation as epsilon decays, and the floor lights up with a live heatmap of the learned values plus arrows showing the current best-known policy — so you can watch the robot's behaviour visibly improve, episode after episode, purely from trial, error, and reward.

⚙ Under the hood

This simulation showcases a robot learning through reinforcement learning. Users observe the robot's behavior as it learns to complete tasks by receiving rewards and penalties.

Reinforcement LearningRobot Control

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

What did you find?

Add reproduction steps (optional)