Coding Train Live 122: filter(), sort() and 2048
In this live stream, I continue the topic of higher order functions and cover the array functions "sort()" and "filter()." I rewrite the particle system coding challenge using higher order functions and attempt again to create a simple version of 2048 (this time in JavaScript!)
π» 2048 challenge https://thecodingtrain.com/challenges/94-2048
Timestamps:
17:38 - filter()
33:15 - sort()
50:21 - Higher order functions Particle System
1:34:08 - 2048 - part 1
2:27:54 - 2048 - part 2
2:48:23 - 2048 - part 3
References:
π Toy-Neural-Network-JS: https://github.com/CodingTrain/Toy-Neural-Network-JS
π Deeplearn.js: https://deeplearnjs.org/
π ITP's ML5.js library: https://github.com/ITPNYU/ml5-js
π Rajiv Shah's Projects Blog: http://projects.rajivshah.com/blog/2017/07/14/QuickDraw/
π Arrays on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
π Nature of Code p5.js examples: https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js
π Google Summer of Code 2018: https://summerofcode.withgoogle.com/
π 2048 Game: https://gabrielecirulli.github.io/2048/
π 2048 on Wikipedia: https://en.wikipedia.org/wiki/2048_(video_game)
Videos:
π₯ My Neural Networks series: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aCibgK1PTWWu9by6XFdCfh
π₯ for...of video: https://youtu.be/Y8sMnRQYr3c
π 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