Simple Telegram game bot written in Java (Spring Boot) using long polling.
- πͺ Work system (earn balance, consume energy)
- ποΈ Rest system (restore energy)
- π² Luck system (risk-based betting mechanic)
- π€ Profile system (view stats)
- π± Reply keyboard-based UI
- Work: decreases energy, increases balance
- Rest: restores energy (limited)
- Luck: chance-based win/lose system with balance change
- Profile: shows current user state
- Java 26
- Spring Boot
- TelegramBots (long polling API)
- OkHttp Telegram Client
org.bytebit.javatelegrambot
βββ JavaTelegramBotApplication
βββ MyTelegramBot
βββ UpdateConsumer
βββ GameService
βββ Player
Made by Byte