A Unity-based AI simulation University project where a digital surfer learns to jump and avoid obstacles autonomously.
Inspired by the Google Chrome dinosaur game, this project uses Artificial Neural Networks (ANNs) and Genetic Algorithms to help the AI improve itself over time.
- Self-Learning AI: The surfer starts with basic knowledge and gradually learns through trial and error.
- Genetic Evolution: The best-performing "surfers" combine their traits to create better ones in the next generation.
- Dynamic Environment: Procedurally generated obstacles and waves provide endless challenges.
- Real-Time Learning: Watch as the AI learns, adapts, and improves over time.
- Unity-Powered Gameplay: Smooth and visually engaging surfing mechanics designed using Unity.
- The AI begins with a simple neural network and basic behaviors.
- When the surfer "wipes out," the AI uses that feedback to adjust its decision-making.
- Over multiple generations, the AI evolves by combining the traits of the most successful surfers using a Genetic Algorithm.
- The result: An AI that becomes smarter, faster, and better at overcoming obstacles without human input.
Watch the AI Surfer evolve in action! π AI Surfer Demo Video
- Unity: Game engine for creating the environment and mechanics.
- Artificial Neural Networks: Core AI system for making decisions.
- Genetic Algorithms: Optimization algorithm for improving the AI over time.
- C#: Scripting language used within Unity.
- Evolving Intelligence: This project demonstrates how AI can learn and evolve without human intervention, mimicking natural selection.
- Engaging Visualization: The surferβs improvement over time is fun to watch and educational.
- Replayability: The endless, dynamic gameplay ensures fresh challenges every time.
This project is open-source and available under the MIT License.