This is a Snake and Ladder Game website developed using Node.js, React.js, Express.js, and MongoDB. It provides secure platform for users to play the game. Users can create an account, save their game progress, create new games, load saved games, and logout from the game. The website supports multiplayer functionality, allowing a maximum of 4 players to play together.
Node.js: A JavaScript runtime environment for server-side development.
React.js: A JavaScript library for building user interfaces.
Express.js: A minimal and flexible web application framework for Node.js.
MongoDB: A NoSQL database used for data storage.
HTML/CSS: Markup and styling for the website.
JavaScript: Programming language used for client-side and server-side scripting.
TailwindCSS: CSS framework to provide a comprehensive set of pre-built classes.
Frontend: Netlify
Backend: Render
-
Clone the repository:
git clone https://github.com/shahvezahmad/snake-ladder-task.git
-
Navigate to the project directory:
cd snake-ladder-task cd client
-
Install the dependencies, do the same for server
npm install
-
Set up the environment variables:
Navigate to the server directory
Create a.env
file
Check .env.example for backend configuration -
Start the client-server in client directory
npm start
-
Open your web browser and access the website at
http://localhost:3000