Assigment 1

Assignment No.1
Instruction:
1. All the copied assignment s will credit zero marks irrespective which one copied and
which has original one.
2. Assignment must be submitted within due date: i.e 08-june-2015 at 4:00 PM.
3. All the students shall submit their assignment (hard and soft copy) to CR of their sections
well before due date and CR shall submit assignments at above mention date in
Room#114.
Problem
Ludo-Game
Snake ladder ludo game is one of the most popular game among indoor game in Pakistan.
Write a console based program for the above mention “Snake Ladder Ludo-Game”. Program
should do the following:
1. Program should prompt the user to enter the number of players contesting in the game.
2. Maximum number of player at a time can participate is 4.
3. Each player will roll a dice on his turn and proceed in ludo chart as follow:
4. If there comes a ladder at player score , It will promote to top end of ladder.
5. If there is snake at player score , its score will demote to the snake tail,
6. Program shall show the each player score on each iteration.
7. This program shall continue until the second last player in game cross the score 100.
8. At the end of the game, Program shall show the first , second, …… and so on positions along with
score.