This app is the classic Snakes and Ladders board game, developed in React.js
Before the game starts, each player will roll one die, the player who rolls a 6, will be allowed to start the game.
After each roll, based on the number of the die, the players will move.
They move their pieces from left to right, starting at 1, following the numbers on the board, then the next row from right to left and repeat.
When a player lands on a top of a snake, their playing piece will slide down to the bottom of the snake.
When a player lands at the base of a ladder, it immediately climbs to the top of the ladder.
The first player that reaches the highest space on the board, 100, wins the game. To win, the player will need to roll the exact number to get them to the last space. If the player rolls a higher number than needed to land exactly on 100, their piece does not move and remains there until their next turn, when they can roll again.
You can see the live version of the project here
🌸 I'd like to thank my friend Bence ( @fekete965 ) for his persistent help and technical support. I appreciate his unbelievable dedication.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.