Skip to content

attainu/python-project-hemanth-kandagatla-au9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Text based snake and ladder game using python.

Introduction: Snakes and Ladders, known originally as Moksha Patam, is an ancient Indian board game for two or more players regarded today as a worldwide classic.It is played on a game board with numbered, gridded squares. A number of "ladders" and "snakes" are pictured on the board, each connecting two specific board squares. The object of the game is to navigate one's game piece, according to die rolls, from the start (bottom square) to the finish (top square), helped by climbing ladders but hindered by falling down snakes. The game is a simple race based on sheer luck, and it is popular with young children.

Concepts required: a python program to play text based snake and ladder game in terminal. Few basic concepts used in this code are:

  • Dictionary
  • List
  • Generating random number
  • Selecting a Random value from a list
  • Adding wait/sleep in program
  • Conditional Statements i.e. IF and ELSE
  • Getting input from user

Python Libraries Used:

  1. time
  2. Random
  3. Sys

Technologies Used:

  1. Python 3.8

About

AttainU python project Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages