
Q-Learning with JavaScript
During my studies, I took a quick look at Q-learning, which is an algorithm from the reinforcement learning family. Consider you have an agent (or player) which interacts with its environment. The environment is set up as a grid. The agent takes a position within a square. Only vertical and