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.
- Run the Python script
Project_snake.py
. - Follow the instructions to play the game.
- Type any alphabet and press Enter to roll the dice.
- Players take turns to roll the dice and move their respective tokens on the board.
- The first player to reach or exceed position 100 wins the game.
- 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.
Snake-Ladder-Video.mp4
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.