An open API service indexing awesome lists of open source software.

https://github.com/genndy007/bullandcow-tgbot

Implementation of Bulls and Cows game as a Telegram bot
https://github.com/genndy007/bullandcow-tgbot

bot golang http telegram-bot

Last synced: over 1 year ago
JSON representation

Implementation of Bulls and Cows game as a Telegram bot

Awesome Lists containing this project

README

          

Bulls and Cows Game
-------------
Installation:

You do not need to install it, it will be hosted by some service :)

You can find this bot in Telegram:
Name: BullAndCowBot
Username: @bullandcow_bot

Rules:
--------------
One player, the Chooser (bot in our case), thinks of a four-letter number and the other player, the Guesser, tries to guess it.

At each turn the Guesser tries a four-letter number, and the Chooser says how close it is to the answer by giving:

The number of Bulls - digits correct in the right position.
The number of Cows - digits correct but in the wrong position.

The Guesser tries to guess the answer in the fewest number of turns.

Why it was created
-----------
P.S. Created just for reason of understanding telegram bot creating