Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Coding Challenge #115: Snake Game Redux

179.9K views
•
September 12, 2018
by
The Coding Train
YouTube video player
Coding Challenge #115: Snake Game Redux

TL;DR

The Coding Train attempts to code the classic Snake Game using the new P5JS web editor in real time.

Transcript

(train horn) - Happy back to school. It is August 31st, school for me starts next week. On The Coding Train, I am going to attempt to do a classic again. I am going to attempt to do a coding challenge and pick the Snake Game. And yes, I have done this before, but I'm going to do this in order to celebrate something that was announced today, the P5J... Read More

Key Insights

  • 👨‍💻 The P5JS web editor simplifies code sharing and collaboration, enhancing the coding experience for creators and learners.
  • 👾 Object-oriented programming and ES6 classes are utilized to structure the game logic and functionality efficiently.
  • 👨‍💻 Live coding sessions offer practical insights into problem-solving, debugging, and iterative development for coding enthusiasts.
  • 🎮 Game development involves implementing gameplay mechanics, user interactions, and error handling to create engaging and functional experiences.
  • 👶 Exploring new tools and platforms like the P5JS web editor provides opportunities for innovation and creativity in coding projects.
  • 👾 Experimenting with game design elements and features allows for customization, iteration, and improvement in game development processes.
  • 👾 Understanding game mechanics, player feedback, and game flow are essential for creating intuitive and enjoyable gaming experiences.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the significance of the P5JS web editor in coding the Snake Game?

The P5JS web editor release allows for easy duplication and sharing of code, enabling viewers to interact with and customize the Snake Game created in the video.

Q: How does the Snake Game function in terms of gameplay mechanics?

The game involves controlling a snake to collect food, grow in size, and avoid collision with the walls and its own body. The challenge requires strategic movement to continue playing.

Q: How does the Coding Train handle game-related functionalities like adding food, growing the snake, and checking for game over?

By implementing functions like foodLocation, grow, eat, and endGame, the Coding Train manages key game elements like spawn locations, snake growth, food consumption, and collision detection to create a functional game.

Q: What features could be added to enhance the Snake Game further?

Additional features like scoring, levels, speed variations, and a restart option could be incorporated to make the game more engaging and interactive for players.

Summary & Key Takeaways

  • The Coding Train codes the Snake Game in celebration of the P5JS web editor release, allowing viewers to duplicate and share their own versions.

  • Using object-oriented programming and ES6 classes, the game involves moving a snake to collect food and grow while avoiding collision.

  • Demonstrating live coding and problem-solving, the challenge includes adding features like game over conditions and user interactivity.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train
9.2: Declare, Initialize, and Use an Array - Processing Tutorial thumbnail
9.2: Declare, Initialize, and Use an Array - Processing Tutorial
The Coding Train
How to Train a Pose Recognition Model with PoseNet and ML5.js thumbnail
How to Train a Pose Recognition Model with PoseNet and ML5.js
The Coding Train
I, Robot thumbnail
I, Robot
The Coding Train
Coding Challenge #62.1: Plinko with Matter.js Part 1 thumbnail
Coding Challenge #62.1: Plinko with Matter.js Part 1
The Coding Train
Coding Challenge #86: Cube Wave by Bees and Bombs thumbnail
Coding Challenge #86: Cube Wave by Bees and Bombs
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.