Synergistic Integration of Q-Learning and Genetic Algorithm for Enhanced Gameplay Performance in the Snake Game
Mamatha A, Saanvi Nair, Tanvi Rao · 2024
Reinforcement learning (RL) presents a powerful framework for training intelligent agents in dynamic environments, with applications ranging from robotics to gaming. This study explores the integration of two prominent techniques, Q-learning and Genetic Algorithm (GA), in the context of training an agent to play the classic Snake game. The study investigates the individual performance of standalone Q-learning and GA methodologies, as well as their combined approach termed the “convergent approach.” Through comparative analysis, including statistical assessments and tabular representations of gameplay performance, the study highlights the strengths and limitations of each approach. The convergent approach demonstrates an average performance gain of approximately 28.70% over Q-Learning and 34.95% over the Genetic Algorithm in terms of the time taken to achieve score milestones in the Snake game.