Synopsis of Snake Game

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

JECRC UNIVERSITY

SUBMITTED TO :- SUBMITTED BY :-

Mr. SANJAY GUPTA RITEISH SHARMA(21BCOM525)

RUDRA PRATAP SINGH (20BCON354)

KUSHAGRA SINGHAL
(20BCON286)
SYNOPSIS OF SNAKE GAME

INTRODUCTION

Playing games is fun and exciting. It gives us


relief from stress and unwinds from our
stressful work. Many of us spend our free
time or others that use most of their time in
playing and exploring new games. Today,
with the raped development of technology we
have, games that are rising up together with
it.
Nowadays with technology we have many
games that are developed for computers
specifically for windows. With the high
technology equipped with these computer
games become robust and attract many
people to buy or have this gadget for them to
experience what's inside it which makes it a
trend for the new generation of gadget.

Snake game is a computer action game,


whose goal is to control a stake to move and
collect food in a map. It has been around
since the earliest days of home computing
and has re-emerged in recent years on mobile
phones.
It isn't the world's greatest game, but it does
give you an idea of what you can achieve
with a simple python program, and perhaps
the basis by which to extend the principles
and create more interesting games on your
own. To move the snake, use up arrow for up,
down arrow for down, "left arrow for left and
right arrow for right. Press "Q' to exit the
game at any time, press "C" to continue the
game.
The aim of the game is to collect the dots
(food) and avoid the obstacles (walls,
boundaries). As you collect the food, the
stake gets longer. The score also increases.
There is no concept of life. Once you hit an
obstacle, that's it, game over

TURTLE MODULES :-

1. Turtle module is a cross-platform set


of python modules designed for writing
video games. It includes computer
graphics and sound libraries designed to
be used with the Python Programming
language.

2. Python has a module named time to


handle time-related tasks. To use
functions defined in the module, we need
to import the module first.

Here's how: import time.

PROBLEM STATEMENT :-

The problem is to design a Snake Game


which provides the following functionalities:

1. Snakes can move in a given direction


and when they eat the food, the length of
the snake increases.
2. When the snake crosses itself, the
game will be over.
3. Food will be generated at a given
interval.

OBJECTIVE :-

Snake game is one of the most popular arcade games


of all time.
In this game, the main objective of the player is to catch
the maximum number of fruits without hitting the wall or
itself.
Creating a snake game can be taken as a challenge
while learning
Python or turtle module. It is one of the best beginner –
friendly projects that every novice programmer should
take as a challenge.
Learning to build a video game is interesting and fun
learning.

SOFTWARE REQUIREMENTS :-

The development and deployment of the


application requires the following general
and specific minimum requirements for
software:

 Programming Language – Python.

 Software used – PyCharm.

 Operating System used Windows 10.

You might also like