DESTROYING Donkey Kong with AI (Deep Reinforcement Learning)
Code Bullet・2 minutes read
Three AI algorithms, including genetic algorithm, NEAT, and PPO, are tested for optimizing gameplay in Donkey Kong by evolving characters, handling physics, and implementing strategies to avoid obstacles like barrels and climb ladders, with each algorithm facing challenges and limitations in adapting to changing game conditions and complexity levels. Despite initial struggles and limitations, the AI algorithms gradually improve through generations, with NEAT evolving neural networks for more advanced behaviors and PPO introducing collective learning to overcome obstacles and progress in the game.
Insights
The genetic algorithm optimizes solutions through evolution, starting with random players, selecting parents based on performance, mutating their instructions, and repeating the process for improvement, showcasing a simple yet effective method for gameplay success.
The NEAT algorithm evolves neural networks over generations, allowing for more complex behaviors and strategies, but struggles with jumping and relies on luck due to random barrel movements, leading to a transition to the more advanced Proximal Policy Optimization (PPO) algorithm for enhanced performance and strategy development.
Get key ideas from YouTube videos. It’s free
Recent questions
What are the different AI algorithms being tested?
Three AI algorithms tested are genetic algorithm, NEAT, and PPO.