Skip to content

OYASHI777/coup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Coup The Resistance Bot/AI πŸš€

Yet another AIβ€”ugh. It's really just a game theory solver with a neural network to learn how good a particular position is.

Description

Coup is an imperfect information social deduction game, that pits players against each other. Just like poker, players do not know other players' cards, but unlike poker, players can swap cards with a central pile to gain more information. This adds a layer of complexity in managing "chance nodes" and player actions that are dependent on it. Game Rules: Official Rulebook

Features

🟒 Basic game simulation

  • 🟒 Handles full Coup game flow
  • βšͺ Better game design architecture instead of many branches

🟑 Card counting mechanism for pruning search

  • 🟒 Create brute force tracker for validation
  • 🟑 Create memoized card counter for quicker querying of impossible states
  • βšͺ Front-end visualization

βšͺ State Probability Tracker

  • βšͺ Use a GPU Compute Shader to compute probability of a particular card permutation state

βšͺ Counterfactual Regret Minimization (CFR)

  • βšͺ Basic CFR
  • βšͺ CVFPR
  • βšͺ CVFPR + RL

Technical Overview

Some papers to reference.
πŸ“–Relevant Papers
πŸ“œ Accelerating Nash Equilibrium Convergence in Monte Carlo Settings Through Counterfactual Value Based Fictitious Play
πŸ“œ Student of Games: A unified learning algorithm for both perfect and imperfect information games
πŸ“œ Combining Deep Reinforcement Learning and Search for Imperfect-Information Games
πŸ“œ Mastering the Game of Stratego with Model-Free Multiagent Reinforcement Learning
- Sample Implementation
πŸ“œ PerfectDou: Dominating DouDizhu with Perfect Information Distillationg

About

Imperfect-information sub-game solver for Coup

Topics

Resources

Stars

Watchers

Forks

Languages