Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Bulls and Cows with AI

AB Guess is a game to guess 4 digits with bulls and cows. the rule is here.

I build an AI program with MonteC Carlo tree search. I test the program 100 times, it takes an average of 4.52 steps to guess the number.

You can run

./game.py --game_num=5 

to compete with AI. Players with less step will win (I can't beat my AI😂). Good luck and have fun!

Morty Proxy This is a proxified and sanitized view of the page, visit original site.