Рет қаралды 217,736
In this challenge, I attempt to make my own version of Google’s Dinosaur Game (T-Rex run!) with a unique twist - controlling the dinosaur (unicorn, in this case) with a machine learning Speech Commands model! Code: thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #146:...
🎥 Next video: • Coding Challenge #148:...
🎥 All videos: • Coding Challenges
References:
💻 ml5 soundClassifier: learn.ml5js.org/#/reference/s...
💻 p5.collide2D: github.com/bmoren/p5.collide2D
💻 jsDelivr: www.jsdelivr.com/
Videos:
🎥 ml5.js Sound Classification: • ml5.js: Sound Classifi...
🔴 Livestream Archive: • Coding Train Live 179:...
Related Coding Challenges:
🚂 #41 Clappy Bird: • Coding Challenge #41: ...
🚂 #31 Flappy Bird: • Coding Challenge #31: ...
🚂 #138 Angry Birds with Matter.js: • Coding Challenge #138:...
Timestamps:
0:00 Introduction
0:56 Unicorn class
3:05 Jump and move
4:14 Add gravity
6:30 Add images
8:05 Add train obstacles
13:24 Add collision detection
18:40 Add speech commands
20:45 soundClassifier.classify()
23:08 Change collision detection to circles
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: / discord
💖 Membership: kzbin.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#chromedinosaurgame #machinelearning #soundclassification #speechcommands #p5js #ml5js