Click the green flag and watch the bot explore and learn to not touch the edge. It uses simplified Q-Learning and adjusts itself to minimize touching the edge. Go through the code for more info.