Skip to content

kotnid/mastermind_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind_Bot

Play mastermind at telegram !

main

bot invite link

set up

  1. pip install -r requirements.txt
  2. python main.py

how to use the bot

  1. Use /open to open a room
  2. Use /start_game to start a game
  3. Use /guess to guess the code peg
  4. End the game by using /end
  5. Close the room by using /close

Command available:

  • /help - show this message
  • /open - open a room
  • /join - join a room
  • /kick - kick player in room
  • /start_game - start a game (bot : bot pick , ran : random select)
  • /guess - guess a code pegs
  • /end - end a game
  • /leave - leave a room
  • /close - close a room
  • /stats - show player stats
  • /board - show leaderboard

Credit

  • rain2wood for giving suggestion and inspiration
  • CCN0807 for giving suggestion and help testing game
  • telebot for using the api service
  • pymongo for accessing the mongodb

About

python telegam mastermind bot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published