← Portfolio

Truco AI

Truco is a bluffing card game, which makes it a harder AI problem than it looks: hidden information, deception, and betting rounds.

I trained an agent with counterfactual regret minimization combined with deep Q-learning in PyTorch, including the envido scoring logic and full game state tracking.