Skip to content

Snake Game Tutorial

Task: Create a Snake game

Difficulty: Beginner

Purpose: Make a game from start to finish.

Concepts:

  • Directional movement
  • Random number generation
  • Cartesian coordinates
  • Arrays, variables

Requirements:

  • LameGFX
  • LameLCD
  • LameControl

Situation:

In this tutorial, we're going to be making a totally epic game where you are a hungry, hungry snake trying to find its way in this world. First dreamed up in 1976, snake games saw wider popularity when it came pre-installed on some cell phones.

You start out as a single dot, with food pellets randomly appearing on the screen. Naturally, you chow down, but as you eat them, you grow longer and longer, making it harder to get around without accidentally eating yourself.