Skip to content

SUNIDHI-JAIN125/Pattern-Memory-Game

Repository files navigation

🎮 Pattern Memory Game

A real-time, interactive pattern memory game built using WebSockets, Prisma ORM, Next.js with TypeScript, and styled with Shadcn. This game challenges players to recall and recreate patterns, providing an engaging and fun experience.


🌟 Features

  • Real-time Gameplay: Built with WebSockets for smooth and interactive real-time communication.
  • Persistent Data: Leveraging Prisma ORM (PostgreSQL) for efficient and reliable database management.
  • Modern Frontend: Next.js with TypeScript for robust and scalable frontend development.
  • UI: Designed with Shadcn components for nice user experience.

🚀 Tech Stack

  • Frontend: Next.js, TypeScript, Shadcn
  • Backend: Node.js, WebSockets
  • Database: Prisma ORM with relational database - PostgreSQL
  • Styling: Tailwind CSS (via Shadcn)

🛠 Getting Started

Follow these steps to set up and run the project locally -

  1. Clone the repository:

    git clone https://github.com/SUNIDHI-JAIN125/Pattern-Memory-Game.git
    cd Pattern-Memory-Game
  2. Install dependencies:

    yarn install
    # or
    npm install
  3. Run the WebSocket Server:

    yarn dev
    # or
    npm run dev
  4. Run the Frontend:

    cd pattern-memory-frontend
  5. Run the WebSocket Server:

    yarn install
    # or
    npm install
    
    yarn dev
    # or
    npm run dev

Contribution Guide

We welcome contributions to the Food Copilot project! Feel free to report bugs, suggest features, or submit pull requests. Follow these steps to get started:

  1. Fork the Repository - Navigate to the Food Copilot Repository, click on the Fork button to create a copy of the repository in your GitHub account.

  2. Clone Your Fork - Clone the forked repository to your local machine.

  3. Run the project on your local machine, check the Getting Started section to setup the project.

  4. Commit your changes with clear commit messages.

  5. Push your changes to your forked repository.

  6. Create a pull request with your changes and details.

Give a Star ⭐

If you find this project helpful or interesting, please consider giving it a star on GitHub!