Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

THE CLASSIC SNAKE GAME MADE IN PYTHON PROGRAMMING WITH

THE USE OF PYGAME MODULE

A Thesis Presented to the Faculty of the College of Engineering

Bulacan State University City of Malolos

In Partial Fulfillment of the Requirements for the

Degree of Bachelor of Science in Computer Engineering

By

DOMISIW, JES SANTERSON L.


DE CASTRO, VINCE LESTER
BAUTISTA, GIVE JONELLE
FABIA, AMOS
BILUNO, VISTAN

BSCPE 2B – Group no. 7


February 2021
Chapter 1

THE PROBLEM AND ITS BACKGROUND

Introduction

A snake is a kind of reptile that is air-breathing vertebrates covered in special

skin made up of scales, bony plates, or a combination of both. It is a long, legless animal

that moves about crawling. All snakes lack external limbs but not all legless reptiles are

snakes.  Snakes have dry, smooth skin and they are closely related to lizards. But unlike

lizards, snakes have no eyelid and external ear opening. (Peters & Wallach, 2020; The

Macmillan Illustrated Encyclopedia, 1995, Vol. 7, p.54).

In 1976, the very first snake-type arcade game was called Blockade which was

developed by British company called Gremlin Interactive. This game is also known as

light cycle games: a fast-paced, hyperresponsive, local multiplayer game. The game

Blockade was originally designed as a two-player game, which means each player needs

to control and guide their snakes: the snakes in this game automatically moves forward,

but using four buttons, the player is able to steer it by making ninety degree turns. The

snake leaves a solid line behind them. The line behind these snakes served as a blockade,

the player who crush in this called blockade whether they are the one who created it or it

was the one made by their own opponent doesn’t matter at all, the rule is simple: the

player needs to control an ever-growing line by choosing the right turns and needs to

outwit their opponent, then the first one who crush on either of this blockade will be the

loser and the one who survives much longer will be the winner then the point will be
given to the player who doesn’t crush at this called blockade. By the rule of this game,

the first player who reaches six points will become the winner of this game.

(Krishnankutty, 2020; Banerjee, 2017)

After some decades when the game called Blockade was released, in 1997 a

telecommunications company named Nokia Corporation put a game called Snake on a

phone called Nokia 6110. Then this was the beginning of a snake game in people's

pocket, the game started to go viral, making a new era in mobile phone gaming. When

2000 arrived, the viral status of this game increased when Nokia Corporation released a

phone called Nokia 3310. The game called snake was residing in this Nokia 3310 and

this same device sold over 126 million units in that particular year, so later on Nokia

3310 became one of the best-selling phones of all time. This game is a little bit different

than the  game Blockade, unlike blockade this game was only a one player game: the

objectives of this game is to control a snake to move and collect food in the map, if the

head of the snake bite any part of its body then it is game over. (Banerjee, 2017)

The researchers decided to search for a game which is made by python that is

related to this called snake, the game that the researchers found has no sound effects at

all, and the mechanics of the game is simple, you just need to move the snake and collect

food in the map, whenever the snake eats the food it will grow one block and a single

food is equivalent to 1 point, if the head of the snake bites any part of its body then the

game is over. The researchers decided to make a modification in this game, so after this

research the game snake must be modified: In the near future the game is expected to

have sound effects such as background music and whenever the snake eats food there

must be a sound effect that sounds like bite. The researchers also want to add some
mechanics to the game such as: whenever the snake eats 3 yellow food the next food that

will appear on the screen will be 2: one yellow and the other one is red, the yellow one is

equivalent to one point and the equivalent of the red one is 5 points. If the player decides

to eat the yellow food, the red food will be gone and will only appear again if the snake

eats 3 yellow food. If the snake eats the red food, you will get 5 points but the length of

the snake will only increase a block.

You might also like