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
- Host: GitHub
- URL: https://github.com/genndy007/bullandcow-tgbot
- Owner: genndy007
- Created: 2020-09-05T13:19:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T11:18:33.000Z (about 6 years ago)
- Last Synced: 2023-03-04T14:26:02.697Z (over 3 years ago)
- Topics: bot, golang, http, telegram-bot
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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