Skip to content

This is a numerical version of this old code-breaking mind game for two or more players.

License

Notifications You must be signed in to change notification settings

antoniomd/bulls-and-cows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bulls and Cows Game

This is a numerical version of this old code-breaking mind game for two or more players.

The script generates a 4-digits number. The digits must be all different.

Then the player try to guess the number who gives the number of matches. If the matching digits are in their right positions, they are "bulls" ("muertos" in this version), if in different positions, they are "cows" ("heridos" in this version).

bullsAndCows.py is a CLI game and bullsAndCowsBot.py is a Telgram Bot version game.

requirements.txt is a requirements of both versions.

Usage:

Clone the repository.

Modify auth.py with you Telegram Bot configuration if you want to use the Telegram version.

Run bullsAndCowsBot.py or bullsAndCows.py in your computer, RPi,...

About

This is a numerical version of this old code-breaking mind game for two or more players.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages