Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 724 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 724 Bytes

PLayGame.java

javac PlayGame.java PLayGame.java

SnakesAndLadders-game--LLD-JAVA

Low level design for Snakes and Ladders game using OOPS Principles.

Problem Statement

Create a snake and ladder application. The application should take as input from the command line :

  • Board size denoting the target to reach.
  • Number of dices(nd) for number of dices to be used, each has a range from 1 to 6.
  • Number of snakes (s) followed by s lines each containing 2 numbers denoting the head and tail positions of the snake.
  • Number of ladders (l) followed by l lines each containing 2 numbers denoting the start and end positions of the ladder.
  • Number of players (p) followed by p lines each containing a name.