Agent 🤖
Goal 🎯 (+10)
Trap ⚡ (-10)
Wall 🧱
Empty (-1)
How Q-Learning Works:
- Initialize Q-table: Set all Q(state, action) values to 0
- Choose action: ε-greedy (explore vs exploit)
- Take action: Move to new state, get reward
- Update Q-value: Use Q-learning formula
- Repeat: Until convergence or max episodes
🎮 Game AI
Train agents to play games like Chess, Go
🚗 Autonomous Driving
Learn to navigate roads safely
🤖 Robotics
Robot learns to walk, grasp objects