|
1 | 1 |
|
| 2 | +# Enhanced - Snake and Ladder Game |
| 3 | + |
| 4 | +## Aim |
| 5 | + |
| 6 | +The main aim is to create a game written in python script. |
| 7 | + |
| 8 | +## Purpose |
| 9 | + |
| 10 | +The purpose of this project is to give fun for the player. |
| 11 | + |
| 12 | +## Short description of package/script |
| 13 | + |
| 14 | + |
| 15 | +- If standalone script, short description of script explaining what it achieves. |
| 16 | + |
| 17 | + I am implementing this project snake and ladder game using tkinter using pillow library. |
| 18 | + |
| 19 | +- List out the libraries imported. |
| 20 | + |
| 21 | + - Tkinter |
| 22 | + - PIL |
| 23 | + - Threading |
| 24 | + - Random |
| 25 | + - Re |
| 26 | + |
| 27 | +## Setup instructions |
| 28 | + |
| 29 | +Install the python2.8 or above version. |
| 30 | + |
| 31 | +Install the prerequisite module - pygame, tkinter |
| 32 | + |
| 33 | +Download the snake_and_ladder.py |
| 34 | + |
| 35 | +Double click the python file and run it. |
| 36 | + |
| 37 | +Enjoy your game. |
| 38 | + |
| 39 | + |
| 40 | +## Workflow |
| 41 | + |
| 42 | +- Import required modules |
| 43 | +- Assign array for snake holes colors in labels and ladder bridges. |
| 44 | +- Assign variables used throughout the program. |
| 45 | +- Set random color and cycle for the color in the function. |
| 46 | +- Function for player moving |
| 47 | +- Function when Roll button for Dice |
| 48 | +- Set a Gui - window for snake and ladder game. |
| 49 | +- New window for user name input. |
| 50 | +- Ouput message for Winning the game generation. |
| 51 | +- Main loop finction runs |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +## Output |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | +## Author(s) |
| 67 | + |
| 68 | +Rammya Dharshini K |
| 69 | + |
| 70 | +## Disclaimers, if any |
| 71 | + |
| 72 | +None |
0 commit comments