Skip to content

Latest commit

Β 

History

History
42 lines (30 loc) Β· 892 Bytes

File metadata and controls

42 lines (30 loc) Β· 892 Bytes

Java Telegram Game Bot

⚠️ Project is not hosted

Simple Telegram game bot written in Java (Spring Boot) using long polling.

πŸš€ Features

  • πŸͺ“ Work system (earn balance, consume energy)
  • πŸ›οΈ Rest system (restore energy)
  • 🎲 Luck system (risk-based betting mechanic)
  • πŸ‘€ Profile system (view stats)
  • πŸ“± Reply keyboard-based UI

🧠 Game Mechanics

  • Work: decreases energy, increases balance
  • Rest: restores energy (limited)
  • Luck: chance-based win/lose system with balance change
  • Profile: shows current user state

πŸ› οΈ Tech Stack

  • Java 26
  • Spring Boot
  • TelegramBots (long polling API)
  • OkHttp Telegram Client

πŸ“ Project Structure

org.bytebit.javatelegrambot
 β”œβ”€β”€ JavaTelegramBotApplication
 β”œβ”€β”€ MyTelegramBot
 β”œβ”€β”€ UpdateConsumer
 β”œβ”€β”€ GameService
 β”œβ”€β”€ Player

πŸ‘¨β€πŸ’» Author

Made by Byte