200 likes | 373 Views
The Artificial Intelligence of ‘Guess It’. By: Will Lounsbury Monarch High School Mentor: Dr. Aaron Bradley CU Boulder. Purpose. To learn how effective Opponent Modeling and Hill Climbing Algorithms are at optimizing strategies in simple card games. Project Background.
E N D
The Artificial Intelligence of ‘Guess It’ By: Will Lounsbury Monarch High School Mentor: Dr. Aaron Bradley CU Boulder
Purpose To learn how effective Opponent Modeling and Hill Climbing Algorithms are at optimizing strategies in simple card games.
Project Background • Interest in Computer Science from Robotics • Be at a level that allows autonomy • Card games • Do something with A.I. • Considered poker, too complex
Guess It • Created as simple substitute for Poker • 15 card deck, 7 cards to each player • Must guess the remaining card • Can “ask” or “call” • Can “bluff” and “double bluff”
Opponent Modeling • Collects data on opponent • Compares probabilities to make decisions • In Guess It: • Collects data on bluffing frequency • Probability of correctly guessing
Hill Climbing • Optimization: • Finds maximums in the function • Guess and check • Problems: • Plateaus • Ridges • Local Maxima
Method • Create a program with 2 “agents” • 3 “modes” of playing: • Dumb – ignores opponent bluffing • Smart – Uses Opponent Modeling • Super – Uses HC generated algorithm • Collect data on games between modes.
Learning Curve for Opponent Modeling Jack Win Frequency Number of Games
Smart vs. Smart Jack Win Percentage
Smart win percentage versus smart and dumb opponents bluffing 30% Jack Win Percentage Jack Bluff percentage
Smart vs. Smart Optimization Jack Ideal Bluff Percentage Opponent Bluff percentage
Preliminary Super Agent vs. Others with varying bluff percentage Jack Win Percentage Dumb Smart Opponent Bluff Percentage
Smart vs. Dumb optimization Ideal bluffing percentage Opponent Bluffing Frequency
The Future • Finish the Super Agent • Fuzziness in the data • Find better curve (piecewise) • Changing bluffing frequency game to game • Meta-strategies • Double Bluffing • Random calling
Conclusion • Bluffing is an extraordinarily integral strategic aspect of Guess It. • Both Opponent modeling and Hill climbing are highly effective at optimizing strategy in Guess It, especially when combined. • Knowing if the opponent is smart or dumb is crucial.
Thanks to Dr. Aaron Bradley for being my mentor this past year, teaching me so much, and helping me to expand my programming horizons.
Bibliography • Epstein, Richard A. The Theory of Gambling and Statistical Logic. New York: Academic, 1977. • Di Pierto, Anthony, Luigi Barone, and Lyndon While. "A Comparison of Different Adaptive Learning Techniques for Opponent Modelling in the Game of Guess It." Google Docs. Web. <http://docs.google.com/gview>. • Cesa-Bianchi, Nicolò, and Gabor Lugosi. Prediction, learning, and games. Cambridge: Cambridge UP, 2006. Print. • Packel, Edward. Mathematics of games and gambling. Mathematical Association of America, 1981. Print. • Isaacs, Rufus. "A Card Game With Bluffing." The American Mathematical Monthly 62.2: 99-108.