This is an implementation of the classic Snake and Ladder game in Java. It includes a command-line interface, where players roll dice, encounter snakes and ladders, and advance toward the goal.
- Multiplayer Mode: Play with multiple players, each taking turns until one wins.
- Customizable Board: Define board size and positions of snakes and ladders.
- Command-Line Interface: Simple and interactive gameplay experience.
git clone https://github.com/iTzTalha/snake-and-ladder.git
- Define the number of players and their names.
- Customize board settings: set board size and configure snakes and ladders.
- Adjust game strategies, such as the winning criteria or additional gameplay rules.
cd snake-and-ladder
javac -d bin src/*.java
java -cp bin Driver
- Players take turns rolling the dice.
- If a player lands on a snake, they slide down; if they land on a ladder, they climb up.
- The first player to reach the final square wins!
- Java: Core language for implementation.
- Object-Oriented Design: Modular and reusable code structure.
- Design Patterns: Applied for efficient game mechanics.
Contributions to the Splitwise Clone project are welcome! If you find any bugs or have suggestions for improvements, feel free to open an issue or submit a pull request.
Give a ⭐️ if you like this project!