comendrun / snakes-and-ladders-FMirzayi

Home Page:https://snakes-and-ladders-fmirzaei93.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snakes & Ladders Game

This app is the classic Snakes and Ladders board game, developed in React.js

Snakes & Ladders rules:

Setup

Before the game starts, each player will roll one die, the player who rolls a 6, will be allowed to start the game.

Start

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.

Snakes

When a player lands on a top of a snake, their playing piece will slide down to the bottom of the snake.

Ladders

When a player lands at the base of a ladder, it immediately climbs to the top of the ladder.

Winner

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.

Initial Script

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

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.

About

https://snakes-and-ladders-fmirzaei93.vercel.app/


Languages

Language:JavaScript 76.5%Language:SCSS 14.1%Language:HTML 9.4%