Coding Challenge #100: Neuroevolution Flappy Bird - Part 3

Subscribers:
1,750,000
Published on ● Video Link: https://www.youtube.com/watch?v=3lvj9jvERvs



Game:
Duration: 13:09
45,403 views
998


In this challenge, I use my JavaScript neural network library and a genetic algorithm to train an agent to play Flappy Bird. Code: https://thecodingtrain.com/challenges/100-neuroevolution-flappy-bird

p5.js Web Editor Sketches:
๐Ÿ•น๏ธ Neuroevolution Flappy Bird: https://editor.p5js.org/codingtrain/sketches/wb-QHVXBq
๐Ÿ•น๏ธ Neuroevolution Flappy Bird -- Part 5: https://editor.p5js.org/codingtrain/sketches/iyPZnViI9
๐Ÿ•น๏ธ Flappy Bird - Improved code: https://editor.p5js.org/codingtrain/sketches/T_cecG2MD

Other Parts of this Challenge:
๐Ÿ“บ Neuroevolution Flappy Bird - Part 1: https://youtu.be/c6y21FkaUqw
๐Ÿ“บ Neuroevolution Flappy Bird - Part 2: https://youtu.be/YtRA6tqgJBc
๐Ÿ“บ Neuroevolution Flappy Bird - Part 4: https://youtu.be/HrvNpbnjEG8
๐Ÿ“บ Neuroevolution Flappy Bird - Part 5: https://youtu.be/U9wiMM3BqLU

๐ŸŽฅ Previous video: https://youtu.be/KtPpoMThKUs?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Next video: https://youtu.be/fUkF-YLLXeg?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
๐Ÿ’ป TensorFlow.js: https://js.tensorflow.org/
๐Ÿ’ป ml5.js: https://github.com/ml5js
๐Ÿ’ป JS Neural Network: https://github.com/CodingTrain/Toy-Neural-Network-JS/
๐Ÿ’ป Flappy Bird Clone: https://github.com/CodingTrain/Flappy-Bird-Clone
๐Ÿ’ป Neuroevolution documentation: https://github.com/shiffman/NOC-S18/tree/master/week10

Videos:
๐Ÿš‚ Coding Challenge #31: Flappy Bird: https://youtu.be/cXgA1d_E-jY
๐Ÿš‚ My Genetic Algorithm playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV
๐Ÿš‚ My Neural Networks playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aCibgK1PTWWu9by6XFdCfh

Live Stream Archive:
๐Ÿ”ด Code Train Live 132: https://youtu.be/ipMekhLS2M0?t=7228s

Related Coding Challenges:
๐Ÿš‚ #29 Smart Rockets in p5.js: https://youtu.be/bGz7mv2vD6g
๐Ÿš‚ #31 Flappy Bird: https://youtu.be/cXgA1d_E-jY
๐Ÿš‚ #41 Clappy Bird: https://youtu.be/aKiyCeIuwn4

Timestamps:
0:00 Part 3 of Flappy Bird--More Improvements
0:56 Separate the game logic from the drawing
2:22 Add a slider to control the number of cycles
5:38 Mutate the fitness score by a random Gaussian number
7:09 Conclusion and possible ways to optimize the genetic algorithm

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

๐Ÿš‚ Website: http://thecodingtrain.com/
๐Ÿ‘พ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
๐Ÿšฉ Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
๐Ÿ’ก GitHub: https://github.com/CodingTrain
๐Ÿ’ฌ Discord: https://thecodingtrain.com/discord
๐Ÿ’– Membership: http://youtube.com/thecodingtrain/join
๐Ÿ›’ Store: https://standard.tv/codingtrain
๐Ÿ–‹๏ธ Twitter: https://twitter.com/thecodingtrain
๐Ÿ“ธ Instagram: https://www.instagram.com/the.coding.train/

๐ŸŽฅ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

๐Ÿ”— p5.js: https://p5js.org
๐Ÿ”— p5.js Web Editor: https://editor.p5js.org/
๐Ÿ”— Processing: https://processing.org

๐Ÿ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#neuralnetwork #reinforcementlearning #geneticalgorithm #evolution #flappybird #javascript #p5js







Tags:
programming
daniel shiffman
creative coding
coding challenge
tutorial
coding
challenges
coding train
the coding train
live stream
class
challenge
codingtrain
code challenge
neural network
neuroevolution
training video game
neural network game
genetic algorithm neural network
genetic algorithm evolution
genetic algorithm example
neural network tutorial
neural network javascript
flappy (video game)
flappy bird clone
flappy bird javascript
neat algorithm



Other Statistics

Flappy Bird Statistics For The Coding Train

At present, The Coding Train has 1,474,832 views spread across 8 videos for Flappy Bird, and about 8 hours worth of Flappy Bird videos were uploaded to his channel. This is less than 0.84% of the total video content that The Coding Train has uploaded to YouTube.