You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The Snake need to reach the food on time or else, the food will disappear and spawned on a random location.
Player need to avoid Snake move into obstacles(represent "=") and Snake itself, otherwise, the game will end.
Every time the Snake eat the food, the obstacles will spawned.
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)