Skip to content

scienmanas/Snake-and-Ladder

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 implemented in Python. The game simulates a board with snakes and ladders, where two players take turns rolling a dice and advancing on the board. The goal is to reach the 100th position before your opponent.

How to Play

  1. Run the Python script Project_snake.py.
  2. Follow the instructions to play the game.
  3. Type any alphabet and press Enter to roll the dice.
  4. Players take turns to roll the dice and move their respective tokens on the board.
  5. The first player to reach or exceed position 100 wins the game.

Rules

  • Snakes are represented by negative numbers, and ladders are represented by positive numbers.
  • Players are represented by 'P1' and 'P2' tokens on the board.
  • If a player lands on a snake's head, they move down to the tail of the snake.
  • If a player lands on the base of a ladder, they climb to the top of the ladder.

Sample Gameplay

Snake-Ladder-Video.mp4

Contributions

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Snake and Ladder game by using basic python as part of mine course project

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages