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