Professional Documents
Culture Documents
“SNAKE GAME”
By
GUIDE
Prof.K.D.Jadhav
SANDIP FOUNDATION
AY 2021-22
Sandip Institute of Technology & Research Centre,Nashik
CERTIFICATE
This is to certify that the following students has successfully completed the PBL project
entititled“SNAKE GAME” in the partial fulfilment of First Year Engineering of Savtribai Phule Pune
University,Pune.
Date:
Place:
Guide Principle
Prof.J.M.Shah.(HOD)
E.S.H DEP.
ACKNOWLEDGMENT
First of all, we thank the almighty for providing us with the strength and courage to work on
this project. We experienced that the saying "there is no way without a guide in life" is really
true while working for the project, the labor and support of many individuals has blossomed
in the project work, which we have completed here. It would be most selfish of our part not to
mention their names in this edifice nonetheless.
The word sincere gratitude is not adequate to express the feelings we have for our respected
project guide Prof. K. D. Jadhav mam for inspiring assistance, encouragement and useful
guidance, which constantly provided. for his till the end. Also thankful to our Head of
Department and guide. We are also indebted to all teaching and non-teaching staff of the
Department of First Year Science & humanities Engineering for their co-operation and
suggestions, which is the spirit behind this report.
Last but not the least, we wish to express our sincere thanks to our Academic
(HOD)Mr.J.M.Shah sir and our beloved Principal (Dr.) S. T. Gandhe sir and also all our
friends for their goodwill and constructive ideas.
INDEX
ABSTRACT
The Nokia inspired Snake game was implemented on 8051 platform.
The game is built on the AT89551 Microcontroller. The game uses an
8 8 LED dot matrix display and five way keys for user interface. A
dedicated delay settings key provides one touch access to the delay
settings mode where the speed of the Snake can be adjusted.
2.2 MODULES
PyGame
Py game 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.
• To install the library, you can use pip installer from the
command
line:
pip install pygame
import pygame
Python time module
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
Although with every move your tail moves thus creating a situation
where a dead end or closed loop will no longer be a dead end after x
moves. The apple also can be very tricky since you cannot know
where the next apple position will be and this makes it difficult to go
straight for the current apple without thinking of how to get into a
good position for the next apple.
INITIAL
GAME
MOVING
NO
MEET
FOOD?
YES
NOOD
INCREMENT
FOOD GENERATED
KEY PROTECTION
& DELAY FOR
MOVING
YES NO
GAME
OVER
3.4 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 Pygame. 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 kinda interesting and fun
learning.
I.Robustness:
II.Reliability:
The system is trustworthy and it is consistently good in
performance. It can also be stated as the system performs
the function without any failure under certain conditions and
specified period of time.
III.Availability:
IV.Reusability:
V.Effectiveness:
4.4.3.Requirement Specification
5.1 PYTHON
Python is an object-oriented, high level language,
interpreted, dynamic and multipurpose programming
language.
Python is easy to leam yet powerful and versatile scripting
language which makes it attractive for Application
Python Versions
CHAPTER 6: TESTING
CHAPTER 8 : CONCLUSIONS
LIMITATIONS :
●The existing system only provides a text-based interface,
which is not as user-friendly as Graphical user Interface.
●Since the system is implemented in Manual, the response is
very slow.
●The transactions are executed in off-line mode, hence on-
line data capture and modification is not possible.
FUTURE SCOPE:
In this project, I have used a simple application. This project
will be able to be implemented in future after making some
changes and modifications as I made this project at a low
level. The modifications that can be done in this project are:
1. It can be made with good graphics,
2. We can add more options like Top scores and Player
Profile,
3. We can add multiplayer option
dot matrix display and
five way keys for user
interface. A dedicated
delay
settings key provides one
touch access to the delay
settings mode where
the speed of the Snake can
be adjusted.
In our project we are
implementing the snake
game by using a
microcontroller. In this we
are using switches one is
Start for starting of the
game and remaining
switches for snake
movements left, right, up
and
down these switches used
like buttons in mobile. We
are going to develop
coding by using python
according to that coding
by using dot matrix the
snake and fruits will be
display on 8*8 dot-matrix
and by using switches
the game will be operated
according to our
requireme
The Nokia inspired Snake
game was implemented on
8051 platform. The
game is built on the
AT89551 Microcontroller.
The game uses an 8 8
LED
dot matrix display and
five way keys for user
interface. A dedicated
delay
settings key provides one
touch access to the delay
settings mode where
the speed of the Snake can
be adjusted.
In our project we are
implementing the snake
game by using a
microcontroller. In this we
are using switches one is
Start for starting of the
game and remaining
switches for snake
movements left, right, up
and
down these switches used
like buttons in mobile. We
are going to develop
coding by using python
according to that coding
by using dot matrix the
snake and fruits will be
display on 8*8 dot-matrix
and by using switches
the game will be operated
according to our
requireme The Nokia inspired Snake game was implemented on 8051
platform. The game is built on the AT89551 Microcontroller. The game uses an 8 8 LED dot matrix
display and five way keys for user interface. A dedicated delay settings key provides one touch
access to the delay settings mode where the speed of the Snake can be adjusted.In our project we
are implementing the snake game by using a microcontroller. In this we are using switches one is
Start for starting of thegame and remaining switches for snake movements left, right, up and down
these switches used like buttons in mobile. We are going to develop coding by using python
according to that coding by using dot matrix the snake and fruits will be display on 8*8 dot-matrix
and by using switches the game will be operated according to our requireme