Reinforcement Learning Lab

Eight reinforcement-learning labs: classical, deep, policy optimisation, bandits, planning and multi-agent, with experiments trained for real in your browser.

39interactive experiments

MountainCar

A car in a valley that must rock back and forth to reach the hilltop; an example of sparse rewards.

Environments library · Implemented and tested Intermediate

Goal

Reach the top of the hill.

State space

Position and velocity

Action space

Left, none, right

Reward function

-1 per step

Success conditions

Reaching the flag

Failure / termination conditions

Reaching the flag or 200 steps

How it was tested

Dynamics equal Gymnasium (numerical test).

Suitable algorithms

Interactive experiment

Simplified Rainbow on MountainCar