Tabular Q-Learning, Explained by a Snake
Q-learning estimates the value of every action in every state directly from experience, with no model of the environment. These notes work through the tabular version end to end — state design, reward shaping, the temporal-difference update, and ε-greedy exploration — using the Snake agent from this site's game page as the running example, retrained from scratch in a live demo.
Read More →
