[LinkedIn Post] Lunar Lander With AI

Learning Lab
My Journey Through Books, Discoveries, and Ideas

[LinkedIn post] Lunar Lander with AI

I would like to share my latest project: a Lunar Lander game featuring an AI pilot powered by a custom C++ Neural Network library!

The game, built in Python, interfaces with this high-performance C++ backend. The Neural Network (a Multi-Layer Perceptron trained using a Genetic Algorithm) learns to navigate and land the lunar module across diverse, configurable scenarios.

Features include:

  • Developing and integrating a C++ NN library (ANN_MLP_GA) I previously developed with Python.
  • Implementing a robust training environment for the GA, allowing the AI to evolve optimal landing strategies.
  • Creating a configurable game environment with options for manual play, NN-driven play, and detailed training routines.

This project has been a deep dive into Python/C++ interoperability, neural network design, and genetic algorithms applied to game AI.

You can find the code available on GitHub here.

#Python #CPP #NeuralNetworks #GeneticAlgorithm #MachineLearning #GameAI #GameDevelopment #SoftwareEngineering #LunarLander

You can access the original post on LinkedIn here.