Skip to content

ManashAnand/memo-online-game

Repository files navigation

Memo Online Game

Memo Online Game is a real-time multiplayer game built using WebSocket and Next.js. This engaging game allows players to compete while tracking their scores in real-time. It ensures fair play by only allowing an even number of players to participate.


✨ Features

  • Real-Time Score Updates: Tracks and displays player scores in real-time using WebSocket.
  • Even Players Only: Ensures fairness by allowing only an even number of players to join.
  • Responsive Design: Fully responsive and optimized for various devices.
  • WebSocket Integration: Powered by WebSocket for seamless real-time communication.
  • Live Demo Video: Watch it in action.

🚀 Installation

Prerequisites

  • Node.js (v16 or higher)
  • npm or Yarn

Steps to Install

  1. Clone the Repository:

    git clone https://github.com/ManashAnand/memo-online-game.git
    cd memo-online-game
  2. Install Dependencies:

    npm install
  3. Run the Development Server:

    npm run dev
  4. Build the Project:

    npm run build
  5. Start the Production Server:

    npm start

🛠️ Development

Running in Development Mode

To test changes locally, use the following command:

npm run dev

This starts a local development server and watches for file changes.


📁 Project Structure

Memo Online Game/
├── app/                    # Added points logic (last month)
├── components/             # Zero initialized (last month)
├── lib/                    # Learn concept using coin (last month)
├── public/                 # Initial commit from Create Next App (last month)
├── .dockerignore           # Added Dockerfile (last month)
├── .eslintrc.json          # Initial commit from Create Next App (last month)
├── .gitignore              # Initial commit from Create Next App (last month)
├── Dockerfile              # Added Dockerfile (last month)
├── README.md               # Initial commit from Create Next App (last month)
├── components.json         # Learn concept using coin (last month)
├── jsconfig.json           # Initial commit from Create Next App (last month)
├── next.config.mjs         # Initial commit from Create Next App (last month)
├── package-lock.json       # Learn concept using coin (last month)
├── package.json            # Learn concept using coin (last month)
├── postcss.config.mjs      # Initial commit from Create Next App (last month)
├── server.js               # Added points logic (last month)
├── socket.js               # First commit (last month)
└── tailwind.config.js      # Learn concept using coin (last month)


🤝 Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature
  3. Commit your changes:
    git commit -m "Add your feature"
  4. Push to the branch:
    git push origin feature/your-feature
  5. Create a Pull Request.

📜 License

This project is licensed under the MIT License.


📞 Support

If you encounter any issues or have questions, feel free to open an issue or reach out.


🌟 Acknowledgments