What this tutorial will cover:
- Who is this tutorial for?
- Links to video-tutorial, source code
- Parts 1 to 6: Following along with video tutorial
- What’s next?
 Who is this tutorial for?
This tutorial is for you only if:
- You have a ready to use IDE.
- You have some basic knowledge of CSS, HTML and JS.
- You have some spare time for learning basics about how AI works.
At the end of this tutorial you should have a basic car, navigating and avoiding walls.
It will start by driving randomly into walls, but learn over time.
Here is how it looks after only about 5 minutes of running:
 Links to video-tutorial, source code
Here is the video-tutorial we will be covering in this tutorial. It comes in 6 parts.
The first one can be seen here:
The source code can be downloaded from: Here.
To see the final solution, download the source code linked above,
And open the important files in a new project in your IDE of choice, these are: “d”, “index.html”, “main.html”, “main.js”, “script.js” and “style.css”.
It should look like this:
Recommendation: To get a general idea of what you will be building, set up the source code as a project, open it in a browser to see what you will be building,
and then start your own project.
Open the video (Starting from “Part 1”), and follow along.
 Parts 1 to 6: Following along with video tutorial
Here we are getting the basic file structure, and CSS into play. You will start to see how it will look like, but it is all static at the end of this part.
Now we are getting elements to move, in particular getting the wall to move towards the car.
Building up the walls (check collision).
AI starts to be defined here! Defining the different states.
Calling the database of experience, closing up.
 What’s next?
- I really recommend reading this simple tutorial on how to build a simple ‘Neural Network’ in 9 lines of Python.
- Since a great deal of AI is done in Python, this ‘Getting started’ Udemy course for Python and AI is very good.
- Moving to heavier stuff: This Coursera course on Machine Learning covers more than just the basics. It is also free.
- There is also a course on Udemy that teaches how to recognize objects in images! This is a major step towards the logic behind DDG.