# Need Help Implementing My Algorithm

Alright, so i’ve been deciding to create a project for upcoming school’s computer science competition, I decided to create an auto driving car AI but it was hard for me to create it because i was not making it based on paths but sensors using raycasts.Later i was thinking of making a car AI using neural networks but I was too lazy to watch a 30 min video for that but i already had a bit of a concept about the neural nets, an idea popped up in my mind which lead to the creation of this algorithm.

First of all, im still a beginner at C# programing.

I don’t know if its same to the neural networks but anyways i just want your help in implementing it and if its a totally stupid idea then tell me.

Secondly i don’t care if its un-optimized as long as an ordinary PC is able to run it.

Just ignore the ‘Array’ thing in the pic if you have a different method of implementation.

In this algorithm all the connections are initially divided with equal weights/percentages.For instance the ‘Move Forward’ and ‘Move Backwards’ both have 50% chance of randomly getting selected as a choice by the AI, in later procedure their percentages will be altered according to their results (depending upon how close their were in preforming their job and in this case avoiding to hit any walls n stuff)

Same is with the speeds and other options.The reason i created three speed options is just so the AI is more options to reach the perfection. And the speed values will also be mutated/changed for-example the first speed value will be increased by an amount each time its selected, the second value will be reduced and the third one will be multiplied or divided.

Thanks, i hope you understood it.
And i hope you don’t find it stupid.

People on the forum like to help with specific code problems, but are unlikely to develop an entire complex system from scratch based on a forum request. I’m sure there are plenty of people on Unity Connect that would love to give you a quote for this work though.

You have basic example of multi layer neural network, with 1 input 1 output, and 3 hidden layers.

Since you doing study, you first ting should be to get idea, what you dealing with.
First get head round on neural network theory, with understanding what it is and how it works.
Then, I may be able to assist you with your problem.
Before then is no point.
Since you are likely be questioned, how you made think work, defending project.