Snake: Make A Classic Game using Javascript & P5.js Framework | Saran Siri | Skillshare

Snake: Make A Classic Game using Javascript & P5.js Framework

Saran Siri, Instructor

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
7 Lessons (16m)
    • 1. Introduction

      0:44
    • 2. P5.js Basic

      1:58
    • 3. Move Our Character

      5:39
    • 4. Add Tail

      1:44
    • 5. Add Apple

      2:06
    • 6. Check Collision

      1:40
    • 7. Add Score System

      1:43

About This Class

This is my game tutorial series where I teach javascript and P5.js framework using classic games.

Check out How to make a classic Pong Game => skl.sh/2E7Ohtw

In this class, we will make a classic Pong game using free online P5.js editor

P5* editor => https://editor.p5js.org/

P.S. On videos: "Add Apple" and "Check Collision", I forgot to add minus 1 at the end of numOfBlocks. I edited it throughout the videos but to make sure, here is the correct version.

appleX = round(random(0, numOfBlocks - 1 ))
appleY = round(random(0, numOfBlocks - 1 ))