Skip to content

m-x-shokhzod/2048Ton

Repository files navigation

React TypeScript Vite App - Mini Telegram Coin Tapper

Overview

This project is a Mini Telegram App built using React, TypeScript, and Vite. It simulates a 2047 game for Telegram users, with the possibility to add referrals and a referrer system. Users can play 2048 to gain coins, with the option to refer others to the game, earning rewards for both the referrer and the referee.

Check Real Example

To see a real example of this concept, go to the Telegram Bot Example.

Features

  • Coin: Users play 2048 to get coins and accumulate points.
  • Referrals: Players can invite others to join using a referral link.
  • Referrer System: When a new user signs up using a referral link, the original referrer earns bonuses.
  • Responsive UI: Optimized for mobile and Telegram's in-app browser.
  • Fast Performance: Built with Vite for rapid development and performance.

Tech Stack

  • React - Frontend framework
  • TypeScript - Type safety and development efficiency
  • Vite - Fast build tool for development and production

Installation

To run the app locally:

  1. Clone the repository:

     git clone  https://github.com/maxwell882000/2048Ton.git
  2. Navigate to the project directory:

    cd 2048Ton
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm run dev
  5. Open the app in your browser at http://localhost:3000.

Usage

  1. Launch the app and start playing.
  2. Create and share a referral link to invite others.
  3. Track referrals and bonuses via the referrer system.

Scripts

  • npm run dev: Starts the Vite development server.
  • npm run build: Builds the app for production.
  • npm run preview: Previews the production build locally.
  • npm run lint: Runs ESLint for code quality.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages