Skip to content

Snake Game Introduction

AlanLau43 edited this page Apr 15, 2020 · 3 revisions

Introduction

This is the classic version of the computer game---Snake Game. The main objective of this game is to feed an increasing length of a snake with food particles which are found at random positions, and try not to move into the obstacles that randomly spawned as the length of a snake increasing and also itself.

Overview of the Gameplay

  1. Player control the snake by using the arrow key(UP, DOWN, LEFT RIGHT) on the keyboard to find a food(represent "@") that spawned on the screen.
  2. The Snake need to reach the food on time or else, the food will disappear and spawned on a random location.
  3. Player need to avoid Snake move into obstacles(represent "=") and Snake itself, otherwise, the game will end.
  4. Every time the Snake eat the food, the obstacles will spawned.
  5. Player need to try to get the highest possible score as they can

Game Control

  • Arrow Key(UP,DOWN,LEFT,RIGHT) --- Move the Snake
  • Mouse Left Click --- Pause the Game (Resume the game by pressing any key)

Game Screen

Gameplay

github-game_play

Game Over

github-game_over

Clone this wiki locally