Play Snakes and Ladders
Interactive browser recreation
Game Board
Configure the players and start a new game.
Roll the dice to move. You must land exactly on square 100 to win.
Game Log
- Game activity will appear here.
About this project
Original C++ board logic, recreated for the browser.
The original coursework is a Windows Console application written in C++. It draws a serpentine 10×10 board, supports one to four local players, animates dice rolls, moves player tokens, and applies fixed snakes and ladders.
The browser recreation preserves the same board numbering, player order, exact-roll finish rule, snake and ladder positions, and local multiplayer flow using HTML, CSS, and Vanilla JavaScript.
How to play
Race from the first square to 100.
- Select between one and four local players and enter their names.
- Player A starts, followed by B, C, and D when those players are enabled.
- Roll the dice and move forward by the displayed number of squares.
- Landing at the bottom of a ladder moves the player upward.
- Landing on a snake head moves the player downward.
- A roll that would pass square 100 does not move the player.
- The first player to land exactly on square 100 wins.
Repository
C++ source and web recreation in one project.
The repository preserves the original coursework file alongside a minimally corrected C++ version, the playable browser recreation, and implementation notes.