javac PlayGame.java
PLayGame.java
Low level design for Snakes and Ladders game using OOPS Principles.
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.