Skip to content

Prashant0664/snake-and-ladder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake and Ladder Game Website

This is a Snake and Ladder Game website developed using Node.js, React.js, Express.js, and MongoDB. It provides a fully responsive and 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.

Demo

Untitled.video.-.Made.with.Clipchamp.2.mp4

Features

✨ User Account Management: Users can create their accounts and log in to access the game.
✨ Game Progress: Users can save their game and resume it at a later time.
✨ Multiplayer: Up to 4 players can play the game together.
✨ Responsive Design: The website is designed to provide a seamless experience across different devices and screen sizes.
✨ Security: The website ensures secure authentication and data storage using encryption techniques.
✨ MongoDB Integration: MongoDB is used to store user account details and game progress.

Technologies Used

✨ 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 provides a comprehensive set of pre-built classes.

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/prashant0664/snake-and-ladder.git
    
  2. Navigate to the project directory:

    cd snake-and-ladder
    
  3. Install the dependencies

    npm install
    
  4. Set up the environment variables:

    Create a .env file in the root directory. Define the required environment variables in the file, such as MongoDB connection details, session secrets, etc.

  5. Start the development server:

    npm start
    
  6. Open your web browser and access the website at http://localhost:3000

Usage

✨ Create a user account by registering on the website.
✨ Log in to your account.
✨ Start a new game or load a saved game.
✨ Play the Snake and Ladder game with up to 4 players.
✨ Save your game progress to resume it later.
✨ Log out from the game when you are done

Contributing

Contributions to the project are welcome! If you find any bugs or want to add new features, please open an issue or submit a pull request.

Contact

For any inquiries or feedback, please contact:

Prashant
Email: prashant201103@gmail.com

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.