This is a simple Snake and Ladder game implemented in C++.
The game is a console-based implementation of the classic Snake and Ladder board game. Players take turns rolling a dice and moving their token accordingly on the game board. The game includes features such as snakes and ladders that can either hinder or assist a player's progress. The first player to reach or exceed the final position (100) on the board wins the game.
- Compile the source code using a C++ compiler.
- Run the compiled executable.
- Enter the names of the two players.
- Players take turns rolling a dice by pressing any key.
- Follow on-screen prompts to see if a snake or ladder is encountered and to display the updated positions.
- The game continues until one of the players reaches or exceeds the final position (100).
- Player name input
- Random dice rolling
- Snake and ladder encounters
- Win condition detection
- Console-based user interface
- Ensure you have a C++ compiler installed.
- Clone the repository to your local machine.
- Compile the source code using the C++ compiler.
- Run the compiled executable to start the game.