Skip to content

Implementation of Blind Man's Bluff with bots! USACO 2012

Notifications You must be signed in to change notification settings

ekzhang/BlindCowsBluff

 
 

Repository files navigation

BlindCowsBluff

Implementation of Blind Man's Bluff with bots! USACO 2012

Have questions?

Try the FAQ/Wiki.

Need updates?

If you need to update your local copy, navigate to BlindCowsBluff/ and try:

git pull origin master

What is Blind Man's Bluff?

The standard version is simply high card wins. Each player is dealt one card that he displays to all other players (traditionally stuck to the forehead facing outwards). This is followed by a round of betting. Players attempt to guess if they have the highest card based on the distribution of visible cards and how other players are betting.

(from Wikipedia)

How do I get started?

Begin by cloning a copy of the Git repo:

git clone git://github.com/authorblues/BlindCowsBluff.git

Go to the base/ directory and compile the driver:

cd BlindCowsBluff/base
make

This will create the ncurses Blind Cow's Bluff driver.

Next, build the example bots to help with testing:

cd ../bots
make

Make a new bot to begin working. A helper script has been provided for this purpose.

cd ..
bash setup-bot.sh "My Awesome Bot"

This will create a new directory bot-MyAwesomeBot/

About

Implementation of Blind Man's Bluff with bots! USACO 2012

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.0%
  • Python 12.0%
  • Makefile 2.9%
  • C++ 2.8%
  • Shell 1.3%