Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

CodeByStella/snake-game

Repository files navigation

Snake Game (Telegram Mini-App)

This is a modern version of the classic Snake Game, designed as a Telegram mini-app. The game is optimized for both mobile and desktop platforms, featuring natural snake movements, increasing challenges as the player progresses, and a store for purchasing power-ups using TON tokens.


Features

  • Realistic Snake Movements: The snake moves smoothly, mimicking real-life movements.
  • Multi-Platform Controls:
    • Mobile: Swipe gestures to control the snake.
    • Desktop: Arrow keys or WASD for navigation.
  • Level Progression: Difficulty increases as the player levels up (faster snake speed and longer tail).
  • TON Token Integration:
    • Spend TON tokens to level up.
    • Buy power-ups like magnets and other items from the store.
  • Firebase Integration: Real-time storage of user data (e.g., scores, tokens, progress).
  • Responsive Design: Optimized for both mobile and desktop devices.
  • Daily Play Opportunities: Displays remaining plays for the day and current score.

Tech Stack

  • Frontend: React + Vite + TypeScript
  • Backend/Database: Firebase
  • Token System: TON blockchain

How to Run Locally

  1. Clone the repository:
    git clone https://github.com/yourusername/snake-game.git
    cd snake-game

About

telegram mini game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published