Skip to content

Latest commit

ย 

History

History
134 lines (84 loc) ยท 2.99 KB

File metadata and controls

134 lines (84 loc) ยท 2.99 KB

๐Ÿงฉ Mind Block App

alt text

๐Ÿ“˜ Introduction

Mind Block is a puzzle and coding challenge game that offers adaptive, rewarding gameplay tailored to users' IQ and preferences.
Players solve logic-based tasks across categories like coding, puzzles, blockchain, and logic to:

  • ๐ŸŽฎ Earn in-game recognition (xp)
  • ๐Ÿš€ Boost problem-solving skills
  • ๐Ÿ† Compete socially with friends

Mind Block is a next-gen puzzle adventure blending AI-generated challenges with skill-based progression in an immersive experience.

โœจ Features include:

  • Quick IQ-level survey to personalize your journey
  • Puzzles that evolve with your intelligence level
  • Categories: coding, logic, blockchain, and more
  • Leaderboards and upcoming real-time puzzle battles

Whether you're a beginner or a pro, Mind Block adapts to youโ€”making every challenge rewarding.


๐Ÿ—๏ธ Project Structure

This is a monorepo containing three main components:

  • Backend (NestJS) โ€“ API & game logic
  • Frontend (NextJS) โ€“ User interface
  • Smart Contracts (Soroban) โ€“ Stellar testnet deployment

๐ŸŒ Hosting

  • Backend (NestJS) โ†’ Render
  • Frontend (NextJS) โ†’ (Coming soon on Vercel)
  • Contracts (Rust) โ†’ Stellar testnet

โšก Getting Started

Follow these steps to clone and set up the project locally.

1. Clone the repository

git clone https://github.com/MindBlockLabs/mindBlock_app.git
cd mindBlock_app
  1. Install dependencies

Each package has its own dependencies. You can install them separately or at ones: Instructions can be found in the general package.json file (script). It is advisable though to install seperately and focus on the folder your isuue is specific to.

Backend (NestJS) cd backend npm install

Frontend (NextJS) cd frontend npm install

Contracts (Soroban)

Make sure you have Scarb and Stellar CLI installed, then:

cd contracts scarb build

  1. Environment variables

Create a .env file inside the backend and/or frontend folders. For backend:

REDIS_URL=redis://127.0.0.1:6379
DATABASE_API='https://mindblock-webaapp.onrender.com/api'

For frontend:

NEXT_PUBLIC_API_URL=http://localhost:5000

  1. Run the project Backend cd backend npm run start:dev

Frontend cd frontend npm run dev

Contracts

Deploy your Soroban contracts on Stellar testnet:

cd contracts stellar-compile stellar-deploy

๐Ÿ‘ฅ Contributors & Contact

๐Ÿ“ข General Telegram Group: Join here

๐Ÿ“ง Owner Emails:

aminubabafatima8@gmail.com

amalikabdulmalik04@gmail.com

Contribution Guidelines

We โค๏ธ contributions!

Fork the repo

Create a new branch:

git checkout -b feature/your-feature-name

Commit changes with clear messages:

git commit -m "feat: add puzzle leaderboard"

Push and open a Pull Request (PR).

๐Ÿ’ก For issues/bugs, please open an issue.

๐Ÿ“œ License

This project is licensed under the MIT License.