Skip to content

A fun Python-command-line-based ๐Ÿš€ Snake and Ladder game ๐ŸŽฎ where you roll the Dice ๐ŸŽฒ, & climb Ladders๐Ÿชœ. Beware ofโ— Snakes ๐Ÿ , and remember the game starts only when you roll 1๏ธโƒฃ, giving you another chance to roll ๐ŸŽฒ. Reach 1๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ before your opponent to win! ๐Ÿ† Play against the computer๐Ÿค– and test your luck! ๐Ÿ€๐Ÿ”ฅ

License

Notifications You must be signed in to change notification settings

soumyajiitdas/Snakes-n-Ladders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฒ๐Ÿ Snake and Ladder - Python Mini Project ๐Ÿš€๐Ÿ†

A fun and interactive Snake and Ladder game built in Python! Play against the computer and race to 100 while avoiding sneaky ๐Ÿ snakes and climbing mighty ๐Ÿš€ ladders!


๐Ÿ“œ Game Rules

๐Ÿ”น The game follows the classic Snake and Ladder rules, with an exciting twist! ๐Ÿ˜ƒ

๐ŸŽฏ 1๏ธโƒฃ Roll the Dice to Start!

  • At the beginning of the game, you must roll a 1๏ธโƒฃ to start moving your game piece.
  • If you roll anything else, you stay in the same position and must roll again next turn.
  • If you get 1๏ธโƒฃ, you move to position 1 and get another chance to roll the dice! ๐ŸŽฒโœจ

๐ŸŽฏ 2๏ธโƒฃ Rolling & Moving

  • On each turn, press Enter to roll the dice ๐ŸŽฒ.
  • Your game piece moves forward based on the dice number ๐Ÿ”ข.
  • If you land on a ladder, you climb up ๐Ÿš€.
  • If you land on a snake, you slide down ๐Ÿ.

๐ŸŽฏ 3๏ธโƒฃ Winning the Game ๐Ÿ†

  • The first player to reach exactly 100 wins! ๐ŸŽฏ
  • If a dice roll moves you beyond 100, you must wait for the exact number to reach 100.

๐Ÿ›‘ Special Game Rules

๐Ÿš€ Ladder Boost โ€“ Land on a ladder and jump up instantly!
๐Ÿ Snake Trap โ€“ Land on a snake and slide down!
๐ŸŽฒ Must Roll 1๏ธโƒฃ to Start โ€“ Your game piece wonโ€™t move until you roll a 1 at the start!


๐Ÿ’ป How to Run the Game?

1๏ธโƒฃ Install Python (if not installed).
2๏ธโƒฃ Clone this repository or download the script.
3๏ธโƒฃ Run the script using:

python snakes_n_ladders.py

4๏ธโƒฃ Or, simply download and run the Snakes-n-Ladders.exe
5๏ธโƒฃ Follow on-screen prompts and have fun! ๐Ÿ˜ƒ๐ŸŽฎ


๐Ÿ’ก About This Project

This is a beginner-friendly Python mini-game ๐Ÿ๐Ÿ”ฅ, great for learning loops, conditionals, and randomness in Python! ๐Ÿš€๐Ÿ˜ƒ

If you like this project, feel free to โญ star this repository and contribute! ๐ŸŒŸ๐Ÿ˜Š

Happy Coding! ๐Ÿ’ป๐ŸŽฎ

About

A fun Python-command-line-based ๐Ÿš€ Snake and Ladder game ๐ŸŽฎ where you roll the Dice ๐ŸŽฒ, & climb Ladders๐Ÿชœ. Beware ofโ— Snakes ๐Ÿ , and remember the game starts only when you roll 1๏ธโƒฃ, giving you another chance to roll ๐ŸŽฒ. Reach 1๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ before your opponent to win! ๐Ÿ† Play against the computer๐Ÿค– and test your luck! ๐Ÿ€๐Ÿ”ฅ

Topics

Resources

License

Stars

Watchers

Forks

Languages