inlinegamesbot
inlinegamesbot copied to clipboard
A Telegram bot providing games that can be played in any chat via inline keyboards.
Inline Games

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
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
It is also possible to deploy this project to Google App Engine, base files are available in the repository.
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.