A modern Python Snake and Ladder Game with an interactive Tkinter GUI, custom player names, animated dice rolls, color-coded turns, and a dynamic leaderboard. Built using Object-Oriented Programming and Pillow for image rendering
A colorful and interactive Snake and Ladder Game built using Python (Tkinter) with animated dice rolls, custom player names, and a dynamic leaderboard.
Players can enter their names, enjoy smooth turn transitions, and watch color-coded dice and tokens move on a digital board.
✅ Fully interactive Tkinter GUI
✅ Custom player names input for each player
✅ Animated dice roll using player’s color
✅ Automatic snake and ladder jumps
✅ Dynamic leaderboard shown at the end
✅ Sound effects for dice roll and win (via winsound)
✅ Modular OOP-based backend and GUI separation
| Component | Description |
|---|---|
| Python | Core programming language |
| Tkinter | GUI rendering and user interaction |
| Pillow (PIL) | For loading and resizing board images |
| winsound / playsound | For dice and win sound effects |
| OOP structure | Backend game logic separated from GUI |
Snake-Ladder-GUI/ │ ├── Snake_ladder_with_GUI_backendcode.py # Backend logic (board, players, rules) ├── Snake_ladder_GUI_main.py # Main GUI interface ├── requirements.txt # Dependencies ├── README.md # Project documentation
git clone https://github.com/Akashhverma/Snakes_-_Ladders_Game_Project_Group_B.git cd Snakes_-_Ladders_Game_Project_Group_B
2️⃣ Install Dependencies pip install -r requirements.txt
3️⃣ Run the Game python GUI.py
🎮 How to Play 1️⃣ Choose the number of players (2–4).
2️⃣ Enter each player’s name in the pop-up boxes.
3️⃣ Each player gets a unique color (Red, Blue, Green, Yellow).
4️⃣ Click “Roll Dice” to play your turn.
5️⃣ Rolling a 6 allows another turn.
6️⃣ Climb ladders 🪜 and avoid snakes 🐍!
7️⃣ The first player to reach 100 wins 🏆.
8️⃣ Continue with remaining players or view the leaderboard.