HomeRobotics & KinematicsQ-Learning Grid-Navigator

Q-Learning Robot: Reinforcement Learning Simulator

Watch a robot agent learn to navigate a grid with real Q-learning: Q(s,a) += alpha*(reward + gamma*max(Q(s',a')) - Q(s,a)). Tune learning rate, discount and exploration decay and watch the policy improve episode by episode.

Robotics & Kinematics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
robotics-topic-38 ↗ Open standalone

This simulator trains a robot agent to cross a grid arena using real tabular Q-learning: the agent maintains one Q-value per (state, action) pair, acts epsilon-greedily, and after every step updates its estimate with Q(s,a) += α·(reward + γ·max(Q(s′,a′)) − Q(s,a)). Episodes run continuously — the robot starts over each time it reaches the goal, falls in a pit, or runs out of steps — while the grid's color heatmap and policy arrows reveal exactly what the agent has learned so far. Tune the learning rate, discount factor and exploration decay to see how each reshapes the speed and stability of convergence.

⚙ Under the hood

A grid-world navigating agent uses Q-learning to find optimal paths, updating its Q-table with each move and exploring new options.

RoboticsQ-LearningMachine LearningSimulation

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

What did you find?

Add reproduction steps (optional)