Skip to Content
✨ SPARK Membership
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK Membership
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK Membership
Folder: Learning
Back
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Login Account

Snake Game

  • All,
  • Games,

🔗 Code Example: Snake Game

🔗 Timestamps:

  • 0:17 Drawing snake board

  • 2:46 Creating and placing food on board

  • 7:40 Creating and placing snake on board

  • 8:41 Moving snake using keyPressed() function

  • 13:20 Fixing errors with snake movement

  • 18:40 Making snake eat food

  • 24:56 Writing GAME OVER

Previous

Tic Tac Toe

You Might Also Like

Related Embedded Video Item Thumbnail Wiper Typography
Related Embedded Video Item Thumbnail Generative Smiley Faces
Related Embedded Video Item Thumbnail Color Gradient Animation #2 (lerpColor Function)
Related Embedded Video Item Thumbnail Interactive Falling Text Rain
Related Embedded Video Item Thumbnail Egg-phabet 🍳
I recently visited a botanical garden, saw this very sign, and really wanted to share.

🌸 ‘To Plant a Garden is to Believe in Tomorrow’ beautifully resonates with the creative coding work I do. Just as planting a seed is a simple act wit
“It’s much easier to determine what is working after you have already done some things than to predict what will work before you have done anything.” — James Clear

I made it through year ONE of making consistent content on th
Follow @pattvira