Zen Trails

About

Mountains and Ladders is a simple single-player web game where the user moves across the board based on the dice roll, after which their new position will be calculated automatically.

Once the user or the computer player known as "The Guide" reaches the 100th square the game ends and the winner is declared.

How It Was Built

The UI for the game was built with React.js and Saas. All styling and components were custom built.

Custom algorithms were created in order to determine the positions of the players on the game board.

A custom React hook was built to persist game values in session storage. The board position, players, and winner are all saved to the user's session.

Players can play against a computer, but they can also play against another person in real time using WebSockets.

Explore For Yourself