Skip to content

nypava/Spelling-Bee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spelling Bee

Spelling Bee is a multiplayer game in which players form words from a given set of 7 letters using a Telegram bot to submit their words.

Installation

Install python

Install python3 from offcial website.

Install pip

You can install pip3 using this article.

Install dependecies

Windows

pip install -r requirements.txt

Linux(debian)

sudo apt-get update
sudo apt-get install python3-tk
python3 -m tkinter
pip install -r requirements.txt

Usage

In config.py, replace bot_token with your bot token from @botfather. Add your Telegram ID to the admin_ids list to control the bot (it can be empty).

Then you can run the script

python main.py

To play a new game, clear the cache

python clearcache.py

OR send /reset command to the bot.

Customization

Customization of text sent to players in bot

You can change bot text on data/text.json.

Customization of names given to players

You can change names on data/text.json.

Customization of letters (spellings)

You can change spellings on data/text.json, the first letter of the list is central letter.

Game Rules

  • All letters that you form must be in the list of letters.
  • The word that you form must include the center letter.
  • The length of the word must be at least 4.
  • Letters can be used more than once.
  • Points increase as the length of your word increases.

Screenshots

Starting a bot to let players to join the game image

Starting a game image

On game image

Telegram bot accepting and valuating the user input image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages