In this coding challenge, I code a p5.js version of the Snake Game. Code: thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #2: M...
🎥 Next video: • Coding Challenge #4: P...
🎥 All videos: • Coding Challenges
References:
🌐 Snake Game on Wikipedia: en.wikipedia.org/wiki/Snake_(...)
Live Stream Archive:
🔴 Coding Train Live 32: • Coding Train Live 32: ...
Related Coding Challenges:
🚂 #32 Agar.io: • Coding Challenge #32.1...
🚂 #72 Frogger: • Coding Challenge #72: ...
🚂 #173 AppleSoft Basic Snake Game: • What was Coding like 4...
🚂 #115 Snake Game Redux: • Coding Challenge #115:...
Timestamps:
0:00 Creating a Snake object
3:00 Adding keyboard control
5:20 Grid and World Constraints
8:00 Adding Food!
11:00 Eating The Food!
13:05 Getting Longer When Eating
17:40 Fixing Mistakes
21:48 Game Over State
25:55 Coding Challenge Complete Choo Choo!
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: thecodingtrain.com/discord
💖 Membership: kzitem.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...
#snake #game #vectors #arrays #p5js #javascript
Негізгі бет Coding Challenge #3: The Snake Game
Пікірлер: 3,5 М.