Make A Classic Snake Game using Javascript & P5.js Framework
What you'll learn
- Build 2D game with JavaScript and P5js framework
Course content
- Preview06:14
- Preview06:59
- 03:10Add Tail
- 03:09Add Apple
- 02:56Check Collision
- 03:11Add Score System
- 00:53Share It
Requirements
- Basic knowledge of JavaScript or coding in general
Description
Hello, my name is Saran, and thank you to click on this course. This course will help you get started on coding by making a classic game - Snake. We will be using javascript at the beginning level, along with the graphic framework p5.js. There is also a free online editor running on the browser, that you can learn from any device.
In the first part, we will take a look at
the basic functions from p5.js
how the coordinate system works
and how to draw and animate simple objects.
Then, we will be working on
moving our snake on the grid system
controlling its behavior
adding its tale
adding an apple
and then setting up the score system.
You can follow me for more game tutorials, now let’s open the next lesson and get started.
Who this course is for:
- Anyone who wants to learn coding
Instructor
Learning coding languages is 10% studying how stuff works and 90% doing exercises. I try to make your learning experience as enjoyable as possible. I welcome any suggestion in the message. Thank you for your time!
Bio: I am a programming Instructor and software developer living in Vancouver, Canada.