Coders Packet

Snake Game using Python

By Chirag Girish Kapoor

This is a replica of the very famous snake game eating the balls which pop up randomly . This is created using Python

INTRODUCTION:

This is a basic version of the very famous game named Snake Xenzia which everyone loved on the earlier versions of the Nokia mobile phones.

This is a fun & interactive game which is very easy to play. The player has to move the snake to eat the balls which randomly appear.

LIBRARIES USED:

pygame

time

random

ABOUT:

The application uses pygame library to build and develop characters of the game to put graphics to the application in Python language.

Time library is used basically to control the speed of the snake character and the pop up  time of the ball and also to keep the time track of the game.

Random library comes in the picture to place the positions of the charcters randomly.

The code was checked and run using Jupiter Notebook.

Download Complete Code

Comments

No comments yet