A downloadable game

Unzip Folder

Run the SelfDrivingCar file

Press Reset when project is open

This video provides a demo run of this project

I used C# and the Unity3D game engine to create a simulation for a self driving car. I wrote a Neural Network from scratch and wrote an algorithm that simulates survival of the fittest in order to create a simulation for a car learning to drive around a race track. The algorithm I use is a genetic algorithm where a pool of cars are spawned onto the track with random neural networks and the network parameters of the best performing cars of each generation are used to influence the next generation of cars. Eventually one car will be able to complete the full lap. Here is the GitHub repository for the project (the ReadMe file contains links to watch a demo of the project in action) and a downloadable to the project. This project was created as part of my A-Level Computer Science Coursework in 2022.

View Code Here: https://github.com/SheriNawaz/GeneticAlgorithmTeachesCarToDrive

Download

Download
SelfDrivingCar.zip 29 MB

Leave a comment

Log in with itch.io to leave a comment.