top of page

SNAKE AND LADDER GAME

CONSOLE BASED JAVA GAME PROGRAM

goal.gif

AIM

The aim of this project was to design and develop a programme that performs similarly to a snake and ladder game. The board comprises 100 squares, numbered 1 to 100. The players begin from square 1. The first player to reach square 100 wins the game. When it is their turn, each player rolls the dice. The players move in accordance with the outcome of the dice roll.

list.gif

STANDARD FEATURES

The requirement for this project was that the programme allow the user to play the game against 1-3 other players. On the board, each snake has a head and a tail. If the player lands on a square with a snake's head, he or she should go down to the square with the snake's tail's end. Similarly, if the player falls on a square with the bottom of the ladder, the player should go up to the top of the ladder square. If a player rolls a 6, they move the number indicated and then receive another turn. The game continues until all but one player reaches square 100.

ADDITIONAL FEATURES

In addition to standard functionality, the project required us to provide additional features. The features are as follows: The board also has two biscuits. If a player lands on a biscuit square, they can keep the biscuit and feed it to the next snake they encounter, skipping the need to travel down to the tail square. The board also has two big sticks. If a player lands on a big stick square, they can keep the big stick and use it to scare away the next snake, causing the snake to move 10 squares (one row) up the board.

developer.gif

SKILLS

Throughout this project, I gained a lot and enhanced my soft skills such as problem solving and organisation skills. In addition, I have developed design and technical skills through designing algorithms, designing the user interface (UI), programming in JAVA, and writing programmes using the Eclipse IDE.

bottom of page