Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.78 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.78 KB

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.