Skip to content

A simple two-player Snake and Ladder game in Python. Roll the dice, avoid snakes, and climb ladders to win!

Notifications You must be signed in to change notification settings

Muskan9942/SnakeLadder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Snake and Ladder Game

This is a simple Snake and Ladder game made in Python. Two players take turns rolling a dice and move on the board. Be careful of snakes, but enjoy climbing ladders! The first player to reach position 30 wins.

How to Play

  1. Run the script.
  2. Players take turns rolling the dice by pressing Enter.
  3. If you land on a snake, you go down.
  4. If you land on a ladder, you go up.
  5. First player to reach 30 wins!

Requirements

  • Python 3.x

How to Run

Open a terminal and run:

python snake_ladder.py

Uploading to GitHub

  1. Clone the repository

    git clone https://github.com/YOUR-USERNAME/snake-ladder-game.git
    cd snake-ladder-game
  2. Add your files

    git add .
    git commit -m "Added Snake and Ladder game"
  3. Push to GitHub

    git push -u origin main

Now your game is on GitHub! 🎉

About

A simple two-player Snake and Ladder game in Python. Roll the dice, avoid snakes, and climb ladders to win!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages