Assignment 22 - Snake Game

Example Output

Learning Outcomes

  1. Queues
  2. Loops

Goals

The purpose of this assignment is to learn to

  1. The classic game of Snake. Move a "snake" (line of sprites) along a 2D grid attempting to run over a randomly placed object to help it grow.
  2. If it runs into itself the game is over and the player has lost.
  3. The object of the game is to make the snake as big as possible.

Description

Tasks

More Details to Get You Started


Key Press Events - NonBlocking Games

Key Press Events - Blocking Games

Variables, Colors, and Sprite Symbols

Important Functions

Extensions

Help

For Java

NonBlockingGame documentation

For C++

NonBlockingGame documentation

For Python

NonBlockingGame documentation