Awesome
What is "AndysTicTacToe"?
It is a Telegram bot for playing Tic-Tac-Toe game.
How is it done?
It is written in Ruby with Andrii Nyvchyk's hands. And as a Telegram API I've used this Ruby wrapper, which was created by @atipugin.
Could I run this bot on my machine?
Yes, you could do it!
- Install Ruby
- Install Ruby wrapper for Telegram's Bot API here: https://github.com/atipugin/telegram-bot-ruby
- Create a Bot using Telegram's BotFather
- Clone this repository
- Open in any editor file
src/main.rb
and replacetoken
in qoutes with your token from BotFather - Move to
src
directory - Run
ruby main.rb
- ???
- You are awesome! Now you have your own Tic-Tac-Toe game!
Examples
- <img src="resources/example1.png" alt="Example screenshot 1" width="448" height="320">
- <img src="resources/example2.png" alt="Example screenshot 2" width="448" height="566">
- <img src="resources/example.gif" alt="Example gif" width="432" height="768">