Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Snake Game

Coding Train via YouTube

Overview

This course teaches how to code a version of the Snake Game using p5.js. The learning outcomes include creating a Snake Object, implementing keyboard control, setting grid and world constraints, adding food elements, handling food consumption, increasing length upon eating, fixing errors, and implementing a game over state. The course utilizes a hands-on approach with practical coding challenges and demonstrations. It is suitable for individuals interested in game development, JavaScript programming, and creative coding using p5.js.

Syllabus

Creating a Snake Object.
Adding keyboard control.
Grid and World Constraints.
Adding Food!.
Eating The Food!.
Getting Longer When Eating.
Fixing Mistakes.
Game Over State.
Coding Challenge Complete Choo Choo!.

Taught by

The Coding Train

Reviews

Start your review of The Snake Game

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.