Skip to content

A Telegram bot providing games that can be played in any chat via inline keyboards.

License

Notifications You must be signed in to change notification settings

Taheraldev/inlinegamesbot

 
 

Repository files navigation

Inline Games License Telegram

A Telegram bot that provides real-time multiplayer games that can be played in any chat.

You can see the bot in action by messaging @inlinegamesbot.

Currently available games:

  • Tic-Tac-Toe
  • Tic-Tac-Four (@DO97)
  • Elephant XO (@DO97)
  • Connect Four
  • Rock-Paper-Scissors
  • Rock-Paper-Scissors-Lizard-Spock (@DO97)
  • Russian Roulette
  • Checkers
  • Pool Checkers

Deploying

Deploy

Assuming everything was entered correctly the deploy process should run the following commands automatically and your bot should be instantly working:

  • php bin/console install - install database schema
  • php bin/console set - set the webhook

If it doesn't you will have to open your app's console and run them manually.

If you have verified Heroku account you will also want to add Heroku Scheduler addon and set up a hourly task to run the following command to clean up expired games from the database:

  • php bin/console cron

Note on translations

Translations support is implemented but it is not used mainly because translated text would be displayed to both players - this could be problematic in "gaming" groups - people setting language that other player can't understand!

Contributing

See CONTRIBUTING for more information.

License

See LICENSE.

About

A Telegram bot providing games that can be played in any chat via inline keyboards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.7%
  • Other 0.3%