Giter Club home page Giter Club logo

spelling-bee's Introduction

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

spelling-bee's People

Contributors

nypava avatar

Stargazers

Hundaol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.