valenbar / wordle-telegram-bot

Home Page:https://www.t.me/TheWordleBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wordle Telegram Bot

A unofficial Wordle game that you can play in Telegram. Heavily inspired by: https://www.powerlanguage.co.uk/wordle/

Try it out: @TheWordleBot

This is how it looks like:

example_3.png example_2.png example_1.png example_4.png

Features

  • Play as many games as you want
  • Languages: English, German, Swedish

Setup

Clone repository:

git clone https://github.com/valenbar/wordle-telegram-bot

Configure example.env

cd wordle-telegram-bot

Without Docker

Install python requirements

pip install -r requirements.txt

Start the program

python wordle-telegram-bot.py

With Docker

docker build -t wordle_telegram_bot .
docker volume create wordle_data
docker run -d -v wordle_data:/app --name wordle_app wordle_telegram_bot

TODO

  • Feature to change language
  • Simpler word pool
  • Delete user message when when word is not added to board
  • Update unique users count to log channel
  • Remove yellow letter if that letter is already green and there is no other
  • Add more markdown to log channel messages
  • Save all word guesses to a dictionary to find most common guesses
  • Add resources.txt
  • Add Hard-mode
  • Option to change board size
  • Add Feedback option
  • Option to get a hint, e.g. an example sentence or the definition
  • Notify if guess is in the wrong language
  • Count game wins/loses per user
  • Option to report a bad word after the game
  • Sync guessed words dictionary to google spreadsheet
  • Error handling when pickled data is corrupted

About

https://www.t.me/TheWordleBot


Languages

Language:Python 99.7%Language:Dockerfile 0.3%