Skip to content

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

Notifications You must be signed in to change notification settings

Akashhverma/Snakes_-_Ladders_Game_Project_Group_B

Repository files navigation

Snakes_-_Ladders_Game_Project_Group_B

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

🐍🎲 Snake and Ladder – Python GUI Game

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.


🚀 Features

✅ 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


snakes ladders_board

🧩 Tech Stack

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

🗂️ Project Structure

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


🛠️ Installation & Setup

1️⃣ Clone the Repository

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).

Screenshot 2025-10-28 093307

2️⃣ Enter each player’s name in the pop-up boxes.

Screenshot 2025-10-28 093322

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.

Screenshot 2025-10-28 093430

6️⃣ Climb ladders 🪜 and avoid snakes 🐍!

7️⃣ The first player to reach 100 wins 🏆.

8️⃣ Continue with remaining players or view the leaderboard.

Screenshot 2025-10-28 093933

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages