• Wednesday , 20 March 2019

Beat Asteroids Game Using a Neural Network – JavaScript Tutorial

Code Canyon

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

3d Ocean

Related Posts


  1. Mt. Ford Studios
    January 14, 2019 at 01:41

    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!

  2. Christian Sandven
    January 14, 2019 at 01:41

    Why not use genetic agorithm to train the model?

  3. eroll022
    January 14, 2019 at 01:41

    Is easier to do this with Unity? Thanks for video.

  4. Metagalactic Llama
    January 14, 2019 at 01:41

    It's spelled ASTEROIDS, moron

  5. herbert kavuma
    January 14, 2019 at 01:41

    Thks nice tutorial, i have checked your channel it has alot of cool staff and i have subscribed

  6. Abhishek Kumar
    January 14, 2019 at 01:41

    Thank u for this awesome video

  7. Crimson Zodiac
    January 14, 2019 at 01:41

    Really loving these tutorials

  8. Rema Rame
    January 14, 2019 at 01:41

    Can you make a python tutorial for neural network for this simple game called "2048 game"

  9. Sun Kim
    January 14, 2019 at 01:41

    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.

  10. 9000 subscribers with no videos !?
    January 14, 2019 at 01:41

    Which is better to learn Python or JavaScript please tell ,

    👍If JavaScript
    Comment if Python

    And please do it fast I'm waiting

Leave A Comment

You must be logged in to post a comment.