This complete JavaScript tutorial shows how to automate an asteroids game using a neural network.
This tutorial keeps the complex theory to a minimum and demonstrates how to use a neural network in a real-world situation.
The tutorial builds off of a previous JavaScript tutorial that shows how to build an astroids game from scratch. However, viewing that tutorial first is not required.
🎥Original Asteroids Game Tutorial: https://youtu.be/H9CSWMxJx84
⭐️Game Resources ⭐️
💻Asteroids Game in Javascript / HTML: https://drive.google.com/file/d/1tmjvMKxCcJeyTpi5pI6A8cgVxwWnyPXn/view
🔈Sound Files: https://drive.google.com/file/d/1iSykdpBCc7xafRFHrdH0mH4TeR5ansAc/view
⭐️Course Contents and Code ⭐️
⌨️(0:00) Part 1: Setup and Matrix Functions
💻Code – Setup and Matrices: https://drive.google.com/file/d/1G7HtRB1OFDBirwqkjWnBRfb4veaJ6QNr/view
💻Code – Matrix Functions: https://drive.google.com/file/d/10io7bEQFxQNyMfdhTkEKqpLLUCAfP7sr/view
⌨️(35:24) Part 2: Neural Network
💻Code – Neural Network: https://drive.google.com/file/d/1_0rYsKM9XW8TOPVyFK8uM5Q9_1OzRY7A/view
💻Code – NeuralNetwork class: https://drive.google.com/file/d/1ROSjAEHAGMTN6MDP1LDAln7xaZD0aCsV/view
⌨️(1:10:45) Part 3: Automate the Ship
💻Code – Automate the Ship: https://drive.google.com/file/d/1MtFKUGdK7KRVIc1Xc1agcbUb29fB7Oo3/view
💻Code – Error Logging: https://drive.google.com/file/d/1Dd3EPkXIjmvoUioxq-bR0XQ5fsE0gwJp/view
Tutorial from Mt. Ford Studios. Check out their channel for more great tutorials: https://www.youtube.com/channel/UCYGcMtRTLWQHgLq4V3bP3sA
—
Learn to code for free and get a developer job: https://www.freecodecamp.com
Read hundreds of articles on programming: https://medium.freecodecamp.com
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
Original source
10 responses to “Beat Asteroids Game Using a Neural Network – JavaScript Tutorial”
Hi guys, thanks for watching. If you have any specific questions for me about the content, please ask them over at my channel https://www.youtube.com/c/MtFordStudios as I don't actively monitor this one. Thanks!
Why not use genetic agorithm to train the model?
Is easier to do this with Unity? Thanks for video.
It's spelled ASTEROIDS, moron
Thks nice tutorial, i have checked your channel it has alot of cool staff and i have subscribed
Thank u for this awesome video
Really loving these tutorials
Can you make a python tutorial for neural network for this simple game called "2048 game"
No priority to preservation of the ship? I didn't see it turning around to defend itself from imminent collision. The Asteroids game does allow thrust. And in the arcade version, you have shooting UFOs that'd certainly kill the ship staying in a stationary position.
Which is better to learn Python or JavaScript please tell ,
👍If JavaScript
Comment if Python
And please do it fast I'm waiting