Professional Documents
Culture Documents
Project Report On
Submitted by:
Under the Supervision of:
Name: Jitender & Dev Soni
Mrs. Uma Sharma
Roll No.: 213122220016
(Assistant Professor of Computer Science) : 213122220020
Class: B.C.A (5th Sem)
DEPARTMENT OF COMPUTER SCIENCE
GOVERNMENT COLLEGE, HANSI
Affiliated TO
GURU JAMBHESHWAR UNIVERSITY OF SCIENCE AND TECHNOLOGY HISAR
Project Report On
1
GOVERNMENT COLLEGE, HANSI
CERTIFICATE
This is to certified that Mr. Jitender & Dev Soni, Roll no: 213122220016 &
213122220020. A Bonafide student of Bachelor of Computer Applications program
being run by GOVERNMENT COLLEGE, HANSI of batch 2021-24 has complete
the project entitled “Snake Game Using Python” under my supervision and my
guidance. It is further certified that the work done in this project is a result of
candidate’s own efforts. I wish her all success in her life.
1
Declaration
I hereby certify that the work which is being presented in the Project Report entitled
“Snake Game Using Python” by “Jitender & Dev Soni” in partial fulfilment of
requirement for the award of degree of BCA submitted in the department of Computer
Science and Applications, GOVERNMENT COLLEGE, HANSI under “GURU
JAMBHESHWAR UNIVERSITY OF SCIENCE AND TECHNOLOGY”. Hisar is an
authentic record of my own work carried out during a period of 2021-24 under the
supervision of Mrs. Uma Sharma the matter presented in this project has not been
submitted in any other university/institute for the award of BCA degree.
Your Name
This is to certified that the above statement made by the candidate is correct to best of
our knowledge.
Supervision
Mrs. Uma Sharma
2
ACKNOWLEDGEMENT
The satisfaction that accompanies that the successful completion of any task would be
incomplete without the mention of people whose ceaseless corporation made it
possible, whose constant guidance and encouragement crown all efforts with success.
Every possible effort is dedicated to Dr. Banta Singh Jangra and my internal
supervisor for giving me a new Mrs. Uma Sharma significance to our endowment
regarding this project. I am highly indebted for the gesture, invaluable suggestion and
boosting confidence to make this successful.
I am thankful to my entire respected faculty members who were a great source of
information and knowledge for me. For the guidance, inspiration and constructive
suggestion that helped me in the preparation of this project.
I dedicated my whole effort in this project to my parents and friends, who assisted me
with all kind of moral as well as monetary support throughout my project work. I also
extend my apologies for all errors or omissions. Which are solely my responsibility.
Your Name
3
INDEX
CONTENTS PAGE NO
1. Abstract ……………………………………….. 6
2. Introduction .............................................................. 7-11
2.1. Python .........................................
2.2 Tkinter ................................................................
2.3 Pygame ..................................................................
3. Description of the project .........................................
3.1. Snake Game ......................................................... 12-14
3.2 Description of game: ………………………………….
4. Software Requirements: ………………………………...
5. Hardware Requirements: ………………………………...
6. Conclusion: ……………………………………..
4
1.ABSTRACT
Python:
Tkinter:
Pygame:
6
3. Description of the Project
Snake game:
Description of Game:
The current snake game is a single player game.
The game interface is built in 2D format. The game is displayed in the pygame
window. Here, it consists of two points where one is fixed location is the food.
Whenever the snake gets the food the length of snake increases by one. The
speed of the snake can be altered from the code. The player controls a long, thin
creature, resembling a snake, which roams around on a bordered plane, picking
up food (or some other item), trying to avoid hitting its own tail or the edges of
the playing area. Each time the snake gets a piece of food, its tail grows longer
by one. Also, the player score increases by one and making the game
increasingly difficult. The user controls the direction of the snake’s head (up,
down, left, or right), and the snake’s body fellows a console window is created
as soon as the game starts. The game will terminate if the snake Head collides
with any of the window’s boundaries or with its own tail. Whenever the game is
finished, the score is displayed in the centre of the window. The GUI is
developed using Various sections and each section lead up to different
functionalities. The limitations with the Pygame and various image files are
used to create the interface. The interface is divided into existing system is that
7
the game has no dedicated storage allocated to store the user’s information and
performance statistics. The game has no information regarding the user so every
time the game is executed it is like the game is running for the first time.
4. Software Requirements
8
5. Hardware Requirements
The hardware minimum and maximum recommended requirements are listed
below:
Hardware Minimum Maximum
Recommended Recommended
Requirements Requirements
Internal Memory 2.00 GB 3.00 GB or Higher
(RAM)
Hard Disk Capacity 60.00GB 80.00GB or Higher
(CPU)
Processor Intel Pentium 1.60GHZ Intel(R) Core i3 2.40
GHZ or Higher
Monitor 17” Coloured 32bit 18” Coloured or Higher
64bit
Video Card 128MB AGP 256 MB AGP or Higher
• Disk Drives
Each client computer must have enough disk space available to store the client
portion of the software and any data files that needs to be stored locally. It is
best to provide a local disk drive for each client computer. However
Client/Server applications can use the “diskless workstations” for which the
only disk access is the disk storage located on a network file server. The hard
9
disk drive at database server should be at least of the capacity 4.1 GB. But it is
recommended to have one of capacity 8.2 GB.
• Mouse A mouse is a must for the client software running under Windows
OS or any other graphical environment.
• Keyboard Each client must have a 104 keys extended keyboard.
10
CONCLUSION
11