PRIMUS PRIVATE
SCHOOL
DUBAI
ACADEMIC YEAR-(2023-2024)
Project File
Subject : Computer Science
Submitted :
by Register :
No Grade : XI
BONAFIDE CERTIFICATE
Certified that the work in this file is the bonafide work of
Master/Miss______________________________________
Grade XI Sec: Reg No:
Completed/covered in the Computer Science practical
sessions during the academic year 2023-2024.
Date of examination:
Internal Examiner: External Examiner:
No: No:
Signature: Signature:
1|Page
S.N
O. CONTENT PAGE NO
1. Certificate
2. Acknowledgement
3. Content
4. Project objectives
5. Modules of the system
6. Source Code with Output
Screenshots
7. Bibliography
INDEX
2|Page
ACKNOWLEDGM
ENT
I would like to express my special thanks of gratitude
to our Computer Science teacher Mrs Meenu Sujith,
whose valuable guidance and support has been the ones
that helped us patch this project and making it a
success.
I would like to extend my gratitude to the Senior
Supervisor Ma’am Mrs Sangeetha Mathur and
Principal Ma’am Mrs. Arundhati Rawat for
providing all the facility that was required. Then I
would like to thank my parents and friends who have
helped me with their valuable suggestions and
guidance which have been helpful in various phases of
the completion of the project.
3|Page
Content:
The code represents a classic Snakes and Ladders game
where players take turns rolling a six-sided die to advance
on the board. The board includes both snakes, which send
players backward, and ladders, which allow players to
climb forward. The game continues until one of the players
reaches or surpasses the winning position.
What is happening in Game:
1- Display the welcome message
2- Collect the player’s names
3- Until one of the player wins do the following:
3.1- Roll the dice
3.2- Move the player forward for the value got on the dice
roll.
3.3- If the player is on snake’s head, move down to its tail
3.4- If the player is on ladder’s bottom, take it to its top
3.5- else remain there and let the second player roll the
dice
3.6 If player gets a 6 then they roll the dice again
4|Page
Project
objectives:
5|Page
Modules of the
system:
6|Page
7|Page
Source code with output
8|Page
Screenshot:
9|Page
10 | P a g e
11 | P a g e
Output:
12 | P a g e
13 | P a g e
Bibliography
https://codereview.stackexchange.com/
questions/176586/snakes-and-ladders-game
https://copyprogramming.com/howto/
python-python-code-snakes-and-ladders-
code-example
14 | P a g e