/AndysTicTacToe

Tic-tac-toe game as a Telegram Bot written in Ruby.

Primary LanguageRuby

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!

  1. Install Ruby
  2. Install Ruby wrapper for Telegram's Bot API here: https://github.com/atipugin/telegram-bot-ruby
  3. Create a Bot using Telegram's BotFather
  4. Clone this repository
  5. Open in any editor file src/main.rb and replace token in qoutes with your token from BotFather
  6. Move to src directory
  7. Run ruby main.rb
  8. ???
  9. You are awesome! Now you have your own Tic-Tac-Toe game!

Examples

  • Example screenshot 1
  • Example screenshot 2
  • Example gif