A feature-rich, interactive Hangman game bot for Telegram with customizable emojis, daily challenges, achievements, and leaderboards!
-
๐ฏ Multiple Word Categories:
- ๐พ Animals
- ๐ Countries
- ๐ Foods
- ๐ Fruits
- ๐ฅ Vegetables
- ๐จ Colors
- โฝ๏ธ Sports
- ๐งโ๐ผ Occupations
- ๐ Actions
- โจ Adjectives
-
๐ Daily Challenges:
- New word every day
- Special scoring system
- Daily leaderboard
- Streak tracking
-
๐จ Customizable Experience:
- ๐ Lives display emojis
- โจ๏ธ Keyboard button emojis
- ๐ฅ Difficulty level emojis
-
๐ Achievement System:
- ๐ First Win
- ๐ฅ 7-Day Streak
- ๐ฎ 50 Games Played
- ๐ 20 Words Solved
- ๐ฏ Perfect Game
-
๐ Comprehensive Statistics:
- Games played and won
- Win rate
- Total score
- Guessed letters
- Solved words
- Current streak
-
๐ Multiple Leaderboards:
- ๐ Daily Challenge rankings
- ๐ Most Wins
- ๐ฅ Highest Scores
/hangman- Start the bot and see available commands/play- Start a new game/stats- View your game statistics/ranking- Check the leaderboards/config- Customize game emojis
-
3๏ธโฃ Difficulty Levels:
- ๐ Easy
- ๐ Medium
- ๐ Hard
-
๐ก Hint System
-
โฑ๏ธ Auto-cleanup of inactive games
-
๐ Play Again option
-
๐ Word progress display
-
๐ฏ Dynamic keyboard generation
- Python
- Required packages:
pip install -r requirements.txt
- Environment variables:
API_ID - Telegram API ID API_HASH - Telegram API Hash BOT_TOKEN_HANGMAN - Your bot token from @BotFather
The bot maintains several JSON files for persistent storage:
users_config.json- User emoji preferencesplayer_stats.json- Player statistics and achievementsdaily_challenges.json- Daily challenge data
- User verification for game interactions
- Flood control handling
- Error handling and graceful degradation
- ๐ โค๏ธ ๐
- ๐งโโ๏ธ ๐ โฐ๏ธ
- ๐ฑ ๐ ๐
- ๐ ๐ฅข ๐ฅฃ
- ๐ฏ ๐ซ
- โ โ
- ๐ข ๐ด
- ๐ ๐
- And more!
- ๐ ๐ ๐
- ๐ ๐ ๐
- ๐คก ๐ ๐ก
- And more!
Made with โค๏ธ for Telegram gamers