A Telegram bot that plays a guess game with you!
- Git
- Github
- GitFlow
- VSCode
- Ruby
- Telegram
- Telegram-Bot-Ruby
- Sinatra
- Rubocop
- Dotenv
- KolourPain
- Ubuntu 20.04
- Heroku
Play with a Live Bot in Telegram!
To get a local copy up and running follow these simple example steps.
- Own a Telegram Account
- Clone the repository:
git clone [email protected]:arthurborgesdev/gamebot.git
- Access @BotFather in Telegram
- Register a new bot typing
/newbot
- Set a name for it
- Set a username for it
- You will receive a Token and a Bot Link
- Use the Bot Link to access your recently created Bot
- Create a file named
.env
in the root of the project withBOT_TOKEN=YourTokenHere
writen in it
- run
bundle install
to install the dependencies
- run
rspec -f d
to run tests in the documentation format
- run
ruby bin/main.rb
from your local machine to start your bot
Alternatively, you can use a already deployed version of the bot in Heroku:
Play with a Live Bot in Telegram!
- Access your recently created bot by its Bot Link or the already deployed Bot
- Start the bot by entering the command
/start
- Try to guess the word by entering one letter at a time until all letters are filled up
- When you finish the word, the bot will Congratulate you!
- Enter
/start
to try another word or/stop
to end the game
👤 Arthur Borges
- GitHub: @arthurborgesdev
- Twitter: @arthurmoises
- LinkedIn: Arthur Borges
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Telegram
- Telegram-bot-ruby
- Friends
- Groups of games in Telegram
This project is MIT licensed.